JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

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.codebuild.model

Class RegistryCredential

    • Constructor Detail

      • RegistryCredential

        public RegistryCredential()
    • Method Detail

      • setCredential

        public void setCredential(String credential)

        The Amazon Resource Name (ARN) or name of credentials created using Secrets Manager.

        The credential can use the name of the credentials only if they exist in your current Amazon Web Services Region.

        Parameters:
        credential - The Amazon Resource Name (ARN) or name of credentials created using Secrets Manager.

        The credential can use the name of the credentials only if they exist in your current Amazon Web Services Region.

      • getCredential

        public String getCredential()

        The Amazon Resource Name (ARN) or name of credentials created using Secrets Manager.

        The credential can use the name of the credentials only if they exist in your current Amazon Web Services Region.

        Returns:
        The Amazon Resource Name (ARN) or name of credentials created using Secrets Manager.

        The credential can use the name of the credentials only if they exist in your current Amazon Web Services Region.

      • withCredential

        public RegistryCredential withCredential(String credential)

        The Amazon Resource Name (ARN) or name of credentials created using Secrets Manager.

        The credential can use the name of the credentials only if they exist in your current Amazon Web Services Region.

        Parameters:
        credential - The Amazon Resource Name (ARN) or name of credentials created using Secrets Manager.

        The credential can use the name of the credentials only if they exist in your current Amazon Web Services Region.

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

        public void setCredentialProvider(String credentialProvider)

        The service that created the credentials to access a private Docker registry. The valid value, SECRETS_MANAGER, is for Secrets Manager.

        Parameters:
        credentialProvider - The service that created the credentials to access a private Docker registry. The valid value, SECRETS_MANAGER, is for Secrets Manager.
        See Also:
        CredentialProviderType
      • getCredentialProvider

        public String getCredentialProvider()

        The service that created the credentials to access a private Docker registry. The valid value, SECRETS_MANAGER, is for Secrets Manager.

        Returns:
        The service that created the credentials to access a private Docker registry. The valid value, SECRETS_MANAGER, is for Secrets Manager.
        See Also:
        CredentialProviderType
      • withCredentialProvider

        public RegistryCredential withCredentialProvider(String credentialProvider)

        The service that created the credentials to access a private Docker registry. The valid value, SECRETS_MANAGER, is for Secrets Manager.

        Parameters:
        credentialProvider - The service that created the credentials to access a private Docker registry. The valid value, SECRETS_MANAGER, is for Secrets Manager.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CredentialProviderType
      • withCredentialProvider

        public RegistryCredential withCredentialProvider(CredentialProviderType credentialProvider)

        The service that created the credentials to access a private Docker registry. The valid value, SECRETS_MANAGER, is for Secrets Manager.

        Parameters:
        credentialProvider - The service that created the credentials to access a private Docker registry. The valid value, SECRETS_MANAGER, is for Secrets Manager.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CredentialProviderType
      • 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 によって変換されたページ (->オリジナル) /