Interface ConfigurationPolicyAssociation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ConfigurationPolicyAssociation.Builder,
,ConfigurationPolicyAssociation> SdkBuilder<ConfigurationPolicyAssociation.Builder,
,ConfigurationPolicyAssociation> SdkPojo
- Enclosing class:
ConfigurationPolicyAssociation
@Mutable
@NotThreadSafe
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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builder
avoiding the need to create one manually viaTarget.builder()
.When the
Consumer
completes,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:
-