Interface CreateContainerAssociationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateContainerAssociationResponse.Builder,,CreateContainerAssociationResponse> NetworkFirewallResponse.Builder,SdkBuilder<CreateContainerAssociationResponse.Builder,,CreateContainerAssociationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
CreateContainerAssociationResponse
-
Method Summary
Modifier and TypeMethodDescriptioncontainerAssociationArn(String containerAssociationArn) The Amazon Resource Name (ARN) of the container association.containerAssociationName(String containerAssociationName) The descriptive name of the container association.containerMonitoringConfigurations(Collection<ContainerMonitoringConfiguration> containerMonitoringConfigurations) The container monitoring configurations for this container association.containerMonitoringConfigurations(Consumer<ContainerMonitoringConfiguration.Builder>... containerMonitoringConfigurations) The container monitoring configurations for this container association.containerMonitoringConfigurations(ContainerMonitoringConfiguration... containerMonitoringConfigurations) The container monitoring configurations for this container association.description(String description) A description of the container association.The current status of the container association.status(ContainerAssociationStatus status) The current status of the container association.tags(Collection<Tag> tags) The key:value pairs associated with the resource.tags(Consumer<Tag.Builder>... tags) The key:value pairs associated with the resource.The key:value pairs associated with the resource.The type of container orchestration platform.type(ContainerMonitoringType type) The type of container orchestration platform.updateToken(String updateToken) A token used for optimistic locking.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.networkfirewall.model.NetworkFirewallResponse.Builder
build, responseMetadata, responseMetadataMethods 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
-
containerAssociationName
CreateContainerAssociationResponse.Builder containerAssociationName(String containerAssociationName) The descriptive name of the container association.
- Parameters:
containerAssociationName- The descriptive name of the container association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerAssociationArn
The Amazon Resource Name (ARN) of the container association.
- Parameters:
containerAssociationArn- The Amazon Resource Name (ARN) of the container association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the container association.
- Parameters:
description- A description of the container association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of container orchestration platform. Either
ECSorEKS.- Parameters:
type- The type of container orchestration platform. EitherECSorEKS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of container orchestration platform. Either
ECSorEKS.- Parameters:
type- The type of container orchestration platform. EitherECSorEKS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
containerMonitoringConfigurations
CreateContainerAssociationResponse.Builder containerMonitoringConfigurations(Collection<ContainerMonitoringConfiguration> containerMonitoringConfigurations) The container monitoring configurations for this container association.
- Parameters:
containerMonitoringConfigurations- The container monitoring configurations for this container association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerMonitoringConfigurations
CreateContainerAssociationResponse.Builder containerMonitoringConfigurations(ContainerMonitoringConfiguration... containerMonitoringConfigurations) The container monitoring configurations for this container association.
- Parameters:
containerMonitoringConfigurations- The container monitoring configurations for this container association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerMonitoringConfigurations
CreateContainerAssociationResponse.Builder containerMonitoringConfigurations(Consumer<ContainerMonitoringConfiguration.Builder>... containerMonitoringConfigurations) The container monitoring configurations for this container association.
This is a convenience method that creates an instance of theContainerMonitoringConfiguration.Builderavoiding the need to create one manually viaContainerMonitoringConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontainerMonitoringConfigurations(List<ContainerMonitoringConfiguration>).- Parameters:
containerMonitoringConfigurations- a consumer that will call methods onContainerMonitoringConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the container association.
- Parameters:
status- The current status of the container association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the container association.
- Parameters:
status- The current status of the container association.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The key:value pairs associated with the resource.
- Parameters:
tags- The key:value pairs associated with the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The key:value pairs associated with the resource.
- Parameters:
tags- The key:value pairs associated with the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The key:value pairs associated with the resource.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
updateToken
A token used for optimistic locking. Network Firewall returns a token to your requests that access the container association. The token marks the state of the container association resource at the time of the request. To make an update to the container association, provide the token in your request. Network Firewall uses the token to ensure that the container association hasn't changed since you last retrieved it. If it has changed, the operation fails with an
InvalidTokenException. If this happens, retrieve the container association again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token.- Parameters:
updateToken- A token used for optimistic locking. Network Firewall returns a token to your requests that access the container association. The token marks the state of the container association resource at the time of the request. To make an update to the container association, provide the token in your request. Network Firewall uses the token to ensure that the container association hasn't changed since you last retrieved it. If it has changed, the operation fails with anInvalidTokenException. If this happens, retrieve the container association again to get a current copy of it with a new token. Reapply your changes as needed, then try the operation again using the new token.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-