Interface DescribeContainerAssociationResponse.Builder

  • Method Details

    • containerAssociationName

      DescribeContainerAssociationResponse.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

      DescribeContainerAssociationResponse.Builder containerAssociationArn(String 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 container type. Valid values:

      • ECS - Amazon Elastic Container Service

      • EKS - Amazon Elastic Kubernetes Service

      Parameters:
      type - The container type. Valid values:

      • ECS - Amazon Elastic Container Service

      • EKS - Amazon Elastic Kubernetes Service

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The container type. Valid values:

      • ECS - Amazon Elastic Container Service

      • EKS - Amazon Elastic Kubernetes Service

      Parameters:
      type - The container type. Valid values:

      • ECS - Amazon Elastic Container Service

      • EKS - Amazon Elastic Kubernetes Service

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • containerMonitoringConfigurations

      DescribeContainerAssociationResponse.Builder containerMonitoringConfigurations(Collection<ContainerMonitoringConfiguration> containerMonitoringConfigurations)

      The monitoring configurations for the container association.

      Parameters:
      containerMonitoringConfigurations - The monitoring configurations for the container association.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • containerMonitoringConfigurations

      DescribeContainerAssociationResponse.Builder containerMonitoringConfigurations(ContainerMonitoringConfiguration... containerMonitoringConfigurations)

      The monitoring configurations for the container association.

      Parameters:
      containerMonitoringConfigurations - The monitoring configurations for the container association.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • containerMonitoringConfigurations

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

      The monitoring configurations for the container association.

      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:
    • 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:
    • resolvedCidrCount

      DescribeContainerAssociationResponse.Builder resolvedCidrCount(Integer resolvedCidrCount)

      The number of CIDR blocks resolved from the monitored containers.

      Parameters:
      resolvedCidrCount - The number of CIDR blocks resolved from the monitored containers.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdatedTime

      DescribeContainerAssociationResponse.Builder lastUpdatedTime(Instant lastUpdatedTime)

      The most recent time that Network Firewall updated the container association.

      Parameters:
      lastUpdatedTime - The most recent time that Network Firewall updated the container association.
      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.

      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 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 changes to the container association, you 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 current 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 changes to the container association, you 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 current 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.