Interface StartConfigurationPolicyAssociationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartConfigurationPolicyAssociationRequest.Builder,,StartConfigurationPolicyAssociationRequest> SdkBuilder<StartConfigurationPolicyAssociationRequest.Builder,,StartConfigurationPolicyAssociationRequest> SdkPojo,SdkRequest.Builder,SecurityHubRequest.Builder
- Enclosing class:
StartConfigurationPolicyAssociationRequest
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_HUBfor 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
overrideConfigurationMethods 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, sdkFieldsMethods 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_HUBfor 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_HUBfor 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.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:
-
overrideConfiguration
StartConfigurationPolicyAssociationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-