Interface AssociateCollectorRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ContinuumRequest.Builder,CopyableBuilder<AssociateCollectorRequest.Builder,,AssociateCollectorRequest> SdkBuilder<AssociateCollectorRequest.Builder,,AssociateCollectorRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
AssociateCollectorRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) Caller-provided token that makes retried association requests idempotent.collectorArn(String collectorArn) The ARN of the Collector to associate with this Environment.collectorDataAccessRoleArn(String collectorDataAccessRoleArn) IAM role in the Environment account that Continuum assumes before authorizing access to associated Collector inventory.environmentId(String environmentId) The unique identifier of the Environment making the association.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.continuum.model.ContinuumRequest.Builder
buildMethods 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, sdkFieldNameToField, sdkFields
-
Method Details
-
environmentId
The unique identifier of the Environment making the association.
- Parameters:
environmentId- The unique identifier of the Environment making the association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
Caller-provided token that makes retried association requests idempotent. The first successful request binds the token to the complete Collector ARN, supplied role, and result for at least 24 hours. During that retry window, reusing it with a different request fails with ConflictException. A matching replay still requires the supplied role to have current Collector access. Once authorized, a matching replay returns the stored result without changing association state. Revocation can deny a replay; it does not remove the stored association or its original result.
- Parameters:
clientToken- Caller-provided token that makes retried association requests idempotent. The first successful request binds the token to the complete Collector ARN, supplied role, and result for at least 24 hours. During that retry window, reusing it with a different request fails with ConflictException. A matching replay still requires the supplied role to have current Collector access. Once authorized, a matching replay returns the stored result without changing association state. Revocation can deny a replay; it does not remove the stored association or its original result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
collectorArn
The ARN of the Collector to associate with this Environment.
- Parameters:
collectorArn- The ARN of the Collector to associate with this Environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
collectorDataAccessRoleArn
IAM role in the Environment account that Continuum assumes before authorizing access to associated Collector inventory. Every association, including a same-account association, requires this role. The supplied ARN replaces the Environment's previously stored role. The customer is responsible for granting the role access to every Collector that should contribute data.
- Parameters:
collectorDataAccessRoleArn- IAM role in the Environment account that Continuum assumes before authorizing access to associated Collector inventory. Every association, including a same-account association, requires this role. The supplied ARN replaces the Environment's previously stored role. The customer is responsible for granting the role access to every Collector that should contribute data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
AssociateCollectorRequest.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
AssociateCollectorRequest.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.
-