Class MembershipAccountsConfigurationsUpdate
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MembershipAccountsConfigurationsUpdate.Builder,MembershipAccountsConfigurationsUpdate>
The MembershipAccountsConfigurationsUpdatestructure represents the configuration updates for member
accounts within an Amazon Web Services organization.
This structure is used to modify existing account configurations and settings for members in the organization. When applying updates, ensure all required fields are properly specified to maintain account consistency.
Key considerations when using this structure:
-
All configuration changes are validated before being applied
-
Updates are processed asynchronously in the background
-
Configuration changes may take several minutes to propagate across all affected accounts
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final BooleanThecoverEntireOrganizationfield is a boolean value that determines whether the membership configuration should be applied across the entire Amazon Web Services Organization.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final booleanFor responses, this returns true if the service returned a value for the OrganizationalUnitsToAdd property.final booleanFor responses, this returns true if the service returned a value for the OrganizationalUnitsToRemove property.A list of organizational unit IDs to add to the membership configuration.A list of organizational unit IDs to remove from the membership configuration.static Class<? extends MembershipAccountsConfigurationsUpdate.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
coverEntireOrganization
The
coverEntireOrganizationfield is a boolean value that determines whether the membership configuration should be applied across the entire Amazon Web Services Organization.When set to
true, the configuration will be applied to all accounts within the organization. When set tofalse, the configuration will only apply to specifically designated accounts.- Returns:
- The
coverEntireOrganizationfield is a boolean value that determines whether the membership configuration should be applied across the entire Amazon Web Services Organization.When set to
true, the configuration will be applied to all accounts within the organization. When set tofalse, the configuration will only apply to specifically designated accounts.
-
hasOrganizationalUnitsToAdd
public final boolean hasOrganizationalUnitsToAdd()For responses, this returns true if the service returned a value for the OrganizationalUnitsToAdd property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
organizationalUnitsToAdd
A list of organizational unit IDs to add to the membership configuration. Each organizational unit ID must match the pattern
ou-[0-9a-z]{4,32}-[a-z0-9]{8,32}.The list must contain between 1 and 5 organizational unit IDs.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasOrganizationalUnitsToAdd()method.- Returns:
- A list of organizational unit IDs to add to the membership configuration. Each organizational unit ID
must match the pattern
ou-[0-9a-z]{4,32}-[a-z0-9]{8,32}.The list must contain between 1 and 5 organizational unit IDs.
-
hasOrganizationalUnitsToRemove
public final boolean hasOrganizationalUnitsToRemove()For responses, this returns true if the service returned a value for the OrganizationalUnitsToRemove property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
organizationalUnitsToRemove
A list of organizational unit IDs to remove from the membership configuration. Each organizational unit ID must match the pattern
ou-[0-9a-z]{4,32}-[a-z0-9]{8,32}.The list must contain between 1 and 5 organizational unit IDs per invocation of the API request.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasOrganizationalUnitsToRemove()method.- Returns:
- A list of organizational unit IDs to remove from the membership configuration. Each organizational unit
ID must match the pattern
ou-[0-9a-z]{4,32}-[a-z0-9]{8,32}.The list must contain between 1 and 5 organizational unit IDs per invocation of the API request.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<MembershipAccountsConfigurationsUpdate.Builder,MembershipAccountsConfigurationsUpdate> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
public static Class<? extends MembershipAccountsConfigurationsUpdate.Builder> serializableBuilderClass() -
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-