Interface AssociateCollectorResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ContinuumResponse.Builder,CopyableBuilder<AssociateCollectorResponse.Builder,,AssociateCollectorResponse> SdkBuilder<AssociateCollectorResponse.Builder,,AssociateCollectorResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
AssociateCollectorResponse
@Mutable
@NotThreadSafe
public static interface AssociateCollectorResponse.Builder
extends ContinuumResponse.Builder, SdkPojo, CopyableBuilder<AssociateCollectorResponse.Builder,AssociateCollectorResponse>
-
Method Summary
Modifier and TypeMethodDescriptionassociatedCollector(Consumer<AssociatedCollector.Builder> associatedCollector) The Collector identifier and ARN validated by this operation.associatedCollector(AssociatedCollector associatedCollector) The Collector identifier and ARN validated by this operation.environmentArn(String environmentArn) The ARN of the Environment making the association.environmentId(String environmentId) The unique identifier of the Environment making the association.Methods inherited from interface software.amazon.awssdk.services.continuum.model.ContinuumResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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.
-
environmentArn
The ARN of the Environment making the association.
- Parameters:
environmentArn- The ARN of the Environment making the association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedCollector
The Collector identifier and ARN validated by this operation.
- Parameters:
associatedCollector- The Collector identifier and ARN validated by this operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedCollector
default AssociateCollectorResponse.Builder associatedCollector(Consumer<AssociatedCollector.Builder> associatedCollector) The Collector identifier and ARN validated by this operation.
This is a convenience method that creates an instance of theAssociatedCollector.Builderavoiding the need to create one manually viaAssociatedCollector.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toassociatedCollector(AssociatedCollector).- Parameters:
associatedCollector- a consumer that will call methods onAssociatedCollector.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-