JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.793

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.ecr.model

Class StartLifecyclePolicyPreviewRequest

    • Constructor Detail

      • StartLifecyclePolicyPreviewRequest

        public StartLifecyclePolicyPreviewRequest()
    • Method Detail

      • setRegistryId

        public void setRegistryId(String registryId)

        The Amazon Web Services account ID associated with the registry that contains the repository. 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. If you do not specify a registry, the default registry is assumed.
      • getRegistryId

        public String getRegistryId()

        The Amazon Web Services account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.

        Returns:
        The Amazon Web Services account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.
      • withRegistryId

        public StartLifecyclePolicyPreviewRequest withRegistryId(String registryId)

        The Amazon Web Services account ID associated with the registry that contains the repository. 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. 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.
      • setRepositoryName

        public void setRepositoryName(String repositoryName)

        The name of the repository to be evaluated.

        Parameters:
        repositoryName - The name of the repository to be evaluated.
      • getRepositoryName

        public String getRepositoryName()

        The name of the repository to be evaluated.

        Returns:
        The name of the repository to be evaluated.
      • withRepositoryName

        public StartLifecyclePolicyPreviewRequest withRepositoryName(String repositoryName)

        The name of the repository to be evaluated.

        Parameters:
        repositoryName - The name of the repository to be evaluated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setLifecyclePolicyText

        public void setLifecyclePolicyText(String lifecyclePolicyText)

        The policy to be evaluated against. If you do not specify a policy, the current policy for the repository is used.

        Parameters:
        lifecyclePolicyText - The policy to be evaluated against. If you do not specify a policy, the current policy for the repository is used.
      • getLifecyclePolicyText

        public String getLifecyclePolicyText()

        The policy to be evaluated against. If you do not specify a policy, the current policy for the repository is used.

        Returns:
        The policy to be evaluated against. If you do not specify a policy, the current policy for the repository is used.
      • withLifecyclePolicyText

        public StartLifecyclePolicyPreviewRequest withLifecyclePolicyText(String lifecyclePolicyText)

        The policy to be evaluated against. If you do not specify a policy, the current policy for the repository is used.

        Parameters:
        lifecyclePolicyText - The policy to be evaluated against. If you do not specify a policy, the current policy for the repository is used.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /