Interface CreateContainerAssociationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateContainerAssociationRequest.Builder,,CreateContainerAssociationRequest> NetworkFirewallRequest.Builder,SdkBuilder<CreateContainerAssociationRequest.Builder,,CreateContainerAssociationRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateContainerAssociationRequest
-
Method Summary
Modifier and TypeMethodDescriptioncontainerAssociationName(String containerAssociationName) The descriptive name of the container association.containerMonitoringConfigurations(Collection<ContainerMonitoringConfiguration> containerMonitoringConfigurations) The list of container monitoring configurations that define which clusters and container attributes to monitor.containerMonitoringConfigurations(Consumer<ContainerMonitoringConfiguration.Builder>... containerMonitoringConfigurations) The list of container monitoring configurations that define which clusters and container attributes to monitor.containerMonitoringConfigurations(ContainerMonitoringConfiguration... containerMonitoringConfigurations) The list of container monitoring configurations that define which clusters and container attributes to monitor.description(String description) A description of the container association.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tags(Collection<Tag> tags) The key:value pairs to associate with the resource.tags(Consumer<Tag.Builder>... tags) The key:value pairs to associate with the resource.The key:value pairs to associate with the resource.The type of container orchestration platform for the clusters in this association.type(ContainerMonitoringType type) The type of container orchestration platform for the clusters in this association.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.services.networkfirewall.model.NetworkFirewallRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
containerAssociationName
The descriptive name of the container association. You can't change the name of a container association after you create it.
- Parameters:
containerAssociationName- The descriptive name of the container association. You can't change the name of a container association after you create it.- 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 for the clusters in this association. Valid values are
ECSandEKS. You can't change the type after creation.- Parameters:
type- The type of container orchestration platform for the clusters in this association. Valid values areECSandEKS. You can't change the type after creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of container orchestration platform for the clusters in this association. Valid values are
ECSandEKS. You can't change the type after creation.- Parameters:
type- The type of container orchestration platform for the clusters in this association. Valid values areECSandEKS. You can't change the type after creation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
containerMonitoringConfigurations
CreateContainerAssociationRequest.Builder containerMonitoringConfigurations(Collection<ContainerMonitoringConfiguration> containerMonitoringConfigurations) The list of container monitoring configurations that define which clusters and container attributes to monitor.
- Parameters:
containerMonitoringConfigurations- The list of container monitoring configurations that define which clusters and container attributes to monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerMonitoringConfigurations
CreateContainerAssociationRequest.Builder containerMonitoringConfigurations(ContainerMonitoringConfiguration... containerMonitoringConfigurations) The list of container monitoring configurations that define which clusters and container attributes to monitor.
- Parameters:
containerMonitoringConfigurations- The list of container monitoring configurations that define which clusters and container attributes to monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerMonitoringConfigurations
CreateContainerAssociationRequest.Builder containerMonitoringConfigurations(Consumer<ContainerMonitoringConfiguration.Builder>... containerMonitoringConfigurations) The list of container monitoring configurations that define which clusters and container attributes to monitor.
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:
-
tags
The key:value pairs to associate with the resource.
- Parameters:
tags- The key:value pairs to associate with the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The key:value pairs to associate with the resource.
- Parameters:
tags- The key:value pairs to associate with the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The key:value pairs to associate 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:
-
overrideConfiguration
CreateContainerAssociationRequest.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
CreateContainerAssociationRequest.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.
-