Interface UpdateContainerAssociationRequest.Builder

  • Method Details

    • containerAssociationName

      UpdateContainerAssociationRequest.Builder containerAssociationName(String containerAssociationName)

      The descriptive name of the container association. You must specify the ARN or the name, and you can specify both.

      Parameters:
      containerAssociationName - The descriptive name of the container association. You must specify the ARN or the name, and you can specify both.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • containerAssociationArn

      UpdateContainerAssociationRequest.Builder containerAssociationArn(String containerAssociationArn)

      The Amazon Resource Name (ARN) of the container association. You must specify the ARN or the name, and you can specify both.

      Parameters:
      containerAssociationArn - The Amazon Resource Name (ARN) of the container association. You must specify the ARN or the name, and you can specify both.
      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. This must match the type specified when the container association was created.

      Parameters:
      type - The type of container orchestration platform. This must match the type specified when the container association was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The type of container orchestration platform. This must match the type specified when the container association was created.

      Parameters:
      type - The type of container orchestration platform. This must match the type specified when the container association was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • containerMonitoringConfigurations

      UpdateContainerAssociationRequest.Builder containerMonitoringConfigurations(Collection<ContainerMonitoringConfiguration> containerMonitoringConfigurations)

      The updated list of container monitoring configurations that define which clusters and container attributes to monitor.

      Parameters:
      containerMonitoringConfigurations - The updated 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

      UpdateContainerAssociationRequest.Builder containerMonitoringConfigurations(ContainerMonitoringConfiguration... containerMonitoringConfigurations)

      The updated list of container monitoring configurations that define which clusters and container attributes to monitor.

      Parameters:
      containerMonitoringConfigurations - The updated 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

      UpdateContainerAssociationRequest.Builder containerMonitoringConfigurations(Consumer<ContainerMonitoringConfiguration.Builder>... containerMonitoringConfigurations)

      The updated list of container monitoring configurations that define which clusters and container attributes to monitor.

      This is a convenience method that creates an instance of the ContainerMonitoringConfiguration.Builder avoiding the need to create one manually via ContainerMonitoringConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to containerMonitoringConfigurations(List<ContainerMonitoringConfiguration>).

      Parameters:
      containerMonitoringConfigurations - a consumer that will call methods on ContainerMonitoringConfiguration.Builder
      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 the Tag.Builder avoiding the need to create one manually via Tag.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<Tag>).

      Parameters:
      tags - a consumer that will call methods on Tag.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 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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      UpdateContainerAssociationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.