Interface StartConfigurationPolicyAssociationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<StartConfigurationPolicyAssociationRequest.Builder,
,StartConfigurationPolicyAssociationRequest> SdkBuilder<StartConfigurationPolicyAssociationRequest.Builder,
,StartConfigurationPolicyAssociationRequest> SdkPojo
,SdkRequest.Builder
,SecurityHubRequest.Builder
- Enclosing class:
StartConfigurationPolicyAssociationRequest
@Mutable
@NotThreadSafe
public static interface StartConfigurationPolicyAssociationRequest.Builder
extends SecurityHubRequest.Builder, SdkPojo, CopyableBuilder<StartConfigurationPolicyAssociationRequest.Builder,StartConfigurationPolicyAssociationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionconfigurationPolicyIdentifier
(String configurationPolicyIdentifier) The Amazon Resource Name (ARN) of a configuration policy, the universally unique identifier (UUID) of a configuration policy, or a value ofSELF_MANAGED_SECURITY_HUB
for a self-managed configuration.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.target
(Consumer<Target.Builder> target) The identifier of the target account, organizational unit, or the root to associate with the specified configuration.The identifier of the target account, organizational unit, or the root to associate with the specified configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
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
Methods inherited from interface software.amazon.awssdk.services.securityhub.model.SecurityHubRequest.Builder
build
-
Method Details
-
configurationPolicyIdentifier
StartConfigurationPolicyAssociationRequest.Builder configurationPolicyIdentifier(String configurationPolicyIdentifier) The Amazon Resource Name (ARN) of a configuration policy, the universally unique identifier (UUID) of a configuration policy, or a value of
SELF_MANAGED_SECURITY_HUB
for a self-managed configuration.- Parameters:
configurationPolicyIdentifier
- The Amazon Resource Name (ARN) of a configuration policy, the universally unique identifier (UUID) of a configuration policy, or a value ofSELF_MANAGED_SECURITY_HUB
for a self-managed configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
target
The identifier of the target account, organizational unit, or the root to associate with the specified configuration.
- Parameters:
target
- The identifier of the target account, organizational unit, or the root to associate with the specified configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
target
The identifier of the target account, organizational unit, or the root to associate with the specified configuration.
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:
-
overrideConfiguration
StartConfigurationPolicyAssociationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
StartConfigurationPolicyAssociationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-