Struct aws_sdk_resourcegroups::types::GroupConfiguration
source · #[non_exhaustive]pub struct GroupConfiguration {
pub configuration: Option<Vec<GroupConfigurationItem>>,
pub proposed_configuration: Option<Vec<GroupConfigurationItem>>,
pub status: Option<GroupConfigurationStatus>,
pub failure_reason: Option<String>,
}Expand description
A service configuration associated with a resource group. The configuration options are determined by the Amazon Web Services service that defines the Type, and specifies which resources can be included in the group. You can add a service configuration when you create the group by using CreateGroup, or later by using the PutGroupConfiguration operation. For details about group service configuration syntax, see Service configurations for resource groups.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.configuration: Option<Vec<GroupConfigurationItem>>The configuration currently associated with the group and in effect.
proposed_configuration: Option<Vec<GroupConfigurationItem>>If present, the new configuration that is in the process of being applied to the group.
status: Option<GroupConfigurationStatus>The current status of an attempt to update the group configuration.
failure_reason: Option<String>If present, the reason why a request to update the group configuration failed.
Implementations§
source§impl GroupConfiguration
impl GroupConfiguration
sourcepub fn configuration(&self) -> &[GroupConfigurationItem]
pub fn configuration(&self) -> &[GroupConfigurationItem]
The configuration currently associated with the group and in effect.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .configuration.is_none().
sourcepub fn proposed_configuration(&self) -> &[GroupConfigurationItem]
pub fn proposed_configuration(&self) -> &[GroupConfigurationItem]
If present, the new configuration that is in the process of being applied to the group.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .proposed_configuration.is_none().
sourcepub fn status(&self) -> Option<&GroupConfigurationStatus>
pub fn status(&self) -> Option<&GroupConfigurationStatus>
The current status of an attempt to update the group configuration.
sourcepub fn failure_reason(&self) -> Option<&str>
pub fn failure_reason(&self) -> Option<&str>
If present, the reason why a request to update the group configuration failed.
source§impl GroupConfiguration
impl GroupConfiguration
sourcepub fn builder() -> GroupConfigurationBuilder
pub fn builder() -> GroupConfigurationBuilder
Creates a new builder-style object to manufacture GroupConfiguration.
Trait Implementations§
source§impl Clone for GroupConfiguration
impl Clone for GroupConfiguration
source§fn clone(&self) -> GroupConfiguration
fn clone(&self) -> GroupConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GroupConfiguration
impl Debug for GroupConfiguration
source§impl PartialEq for GroupConfiguration
impl PartialEq for GroupConfiguration
source§fn eq(&self, other: &GroupConfiguration) -> bool
fn eq(&self, other: &GroupConfiguration) -> bool
self and other values to be equal, and is used
by ==.