Interface PutImageTagMutabilityRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<PutImageTagMutabilityRequest.Builder,PutImageTagMutabilityRequest>, EcrRequest.Builder, SdkBuilder<PutImageTagMutabilityRequest.Builder,PutImageTagMutabilityRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
PutImageTagMutabilityRequest

public static interface PutImageTagMutabilityRequest.Builder extends EcrRequest.Builder, SdkPojo, CopyableBuilder<PutImageTagMutabilityRequest.Builder,PutImageTagMutabilityRequest>
  • Method Details

    • registryId

      The Amazon Web Services account ID associated with the registry that contains the repository in which to update the image tag mutability settings. If you do not specify a registry, the default registry is assumed.

      Parameters:
      registryId - The Amazon Web Services account ID associated with the registry that contains the repository in which to update the image tag mutability settings. If you do not specify a registry, the default registry is assumed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • repositoryName

      PutImageTagMutabilityRequest.Builder repositoryName(String repositoryName)

      The name of the repository in which to update the image tag mutability settings.

      Parameters:
      repositoryName - The name of the repository in which to update the image tag mutability settings.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • imageTagMutability

      PutImageTagMutabilityRequest.Builder imageTagMutability(String imageTagMutability)

      The tag mutability setting for the repository. If MUTABLE is specified, image tags can be overwritten. If IMMUTABLE is specified, all image tags within the repository will be immutable which will prevent them from being overwritten.

      Parameters:
      imageTagMutability - The tag mutability setting for the repository. If MUTABLE is specified, image tags can be overwritten. If IMMUTABLE is specified, all image tags within the repository will be immutable which will prevent them from being overwritten.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • imageTagMutability

      PutImageTagMutabilityRequest.Builder imageTagMutability(ImageTagMutability imageTagMutability)

      The tag mutability setting for the repository. If MUTABLE is specified, image tags can be overwritten. If IMMUTABLE is specified, all image tags within the repository will be immutable which will prevent them from being overwritten.

      Parameters:
      imageTagMutability - The tag mutability setting for the repository. If MUTABLE is specified, image tags can be overwritten. If IMMUTABLE is specified, all image tags within the repository will be immutable which will prevent them from being overwritten.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

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