Interface ConfigurationPolicyAssociation.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ConfigurationPolicyAssociation.Builder,,ConfigurationPolicyAssociation> SdkBuilder<ConfigurationPolicyAssociation.Builder,,ConfigurationPolicyAssociation> SdkPojo
- Enclosing class:
ConfigurationPolicyAssociation
public static interface ConfigurationPolicyAssociation.Builder
extends SdkPojo, CopyableBuilder<ConfigurationPolicyAssociation.Builder,ConfigurationPolicyAssociation>
-
Method Summary
Modifier and TypeMethodDescriptiontarget(Consumer<Target.Builder> target) The target account, organizational unit, or the root.The target account, organizational unit, or the root.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
target
The target account, organizational unit, or the root.
- Parameters:
target- The target account, organizational unit, or the root.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
target
The target account, organizational unit, or the root.
This is a convenience method that creates an instance of theTarget.Builderavoiding the need to create one manually viaTarget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totarget(Target).- Parameters:
target- a consumer that will call methods onTarget.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-