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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ConfigurationPolicyAssociation.Buildertarget(Consumer<Target.Builder> target)The target account, organizational unit, or the root.ConfigurationPolicyAssociation.Buildertarget(Target target)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 Detail
-
target
ConfigurationPolicyAssociation.Builder target(Target 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
default ConfigurationPolicyAssociation.Builder target(Consumer<Target.Builder> 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:
target(Target)
-
-