Class AmazonECSRegistryCredential

java.lang.Object
com.cloudbees.plugins.credentials.BaseCredentials
com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
com.cloudbees.jenkins.plugins.amazonecr.AmazonECSRegistryCredential
All Implemented Interfaces:
com.cloudbees.plugins.credentials.common.IdCredentials, com.cloudbees.plugins.credentials.common.PasswordCredentials, com.cloudbees.plugins.credentials.common.StandardCredentials, com.cloudbees.plugins.credentials.common.StandardUsernameCredentials, com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials, com.cloudbees.plugins.credentials.common.UsernameCredentials, com.cloudbees.plugins.credentials.common.UsernamePasswordCredentials, com.cloudbees.plugins.credentials.Credentials, ExtensionPoint, Describable<com.cloudbees.plugins.credentials.Credentials>, Serializable

public class AmazonECSRegistryCredential extends com.cloudbees.plugins.credentials.impl.BaseStandardCredentials implements com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials
This new kind of credential provides an embedded AWSCredentials when a credential for Amazon ECS Registry end point is needed.
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.cloudbees.plugins.credentials.impl.BaseStandardCredentials

    com.cloudbees.plugins.credentials.impl.BaseStandardCredentials.BaseStandardCredentialsDescriptor

    Nested classes/interfaces inherited from interface hudson.ExtensionPoint

    ExtensionPoint.LegacyInstancesAreScopedToHudson

    Nested classes/interfaces inherited from interface com.cloudbees.plugins.credentials.common.IdCredentials

    com.cloudbees.plugins.credentials.common.IdCredentials.Helpers

    Nested classes/interfaces inherited from interface com.cloudbees.plugins.credentials.common.StandardCredentials

    com.cloudbees.plugins.credentials.common.StandardCredentials.NameProvider

    Nested classes/interfaces inherited from interface com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials

    com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials.NameProvider
  • Constructor Summary

    Constructors
    Constructor
    Description
    AmazonECSRegistryCredential(com.cloudbees.plugins.credentials.CredentialsScope scope, String credentialsId, com.amazonaws.regions.Regions region, String description, ItemGroup itemGroup)
     
    AmazonECSRegistryCredential(com.cloudbees.plugins.credentials.CredentialsScope scope, String credentialsId, String description, ItemGroup itemGroup)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.cloudbees.jenkins.plugins.awscredentials.AmazonWebServicesCredentials
     
     
     
     
     
     

    Methods inherited from class com.cloudbees.plugins.credentials.impl.BaseStandardCredentials

    equals, getId, hashCode

    Methods inherited from class com.cloudbees.plugins.credentials.BaseCredentials

    getDescriptor, getScope

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.cloudbees.plugins.credentials.Credentials

    forRun, getDescriptor, getScope

    Methods inherited from interface com.cloudbees.plugins.credentials.common.IdCredentials

    getId

    Methods inherited from interface com.cloudbees.plugins.credentials.common.UsernameCredentials

    isUsernameSecret
  • Constructor Details

    • AmazonECSRegistryCredential

      public AmazonECSRegistryCredential(com.cloudbees.plugins.credentials.CredentialsScope scope, @NonNull String credentialsId, String description, ItemGroup itemGroup)
    • AmazonECSRegistryCredential

      public AmazonECSRegistryCredential(@CheckForNull com.cloudbees.plugins.credentials.CredentialsScope scope, @NonNull String credentialsId, com.amazonaws.regions.Regions region, String description, ItemGroup itemGroup)
  • Method Details

    • getCredentialsId

      @NonNull public String getCredentialsId()
    • getCredentials

      @CheckForNull public com.cloudbees.jenkins.plugins.awscredentials.AmazonWebServicesCredentials getCredentials()
    • getDescription

      @NonNull public String getDescription()
      Specified by:
      getDescription in interface com.cloudbees.plugins.credentials.common.StandardCredentials
      Overrides:
      getDescription in class com.cloudbees.plugins.credentials.impl.BaseStandardCredentials
    • getPassword

      @NonNull public Secret getPassword()
      Specified by:
      getPassword in interface com.cloudbees.plugins.credentials.common.PasswordCredentials
    • getUsername

      @NonNull public String getUsername()
      Specified by:
      getUsername in interface com.cloudbees.plugins.credentials.common.UsernameCredentials
    • getEmail

      @NonNull public String getEmail()