@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsCodeBuildProjectEnvironmentRegistryCredential extends Object implements Serializable, Cloneable, StructuredPojo
The credentials for access to a private registry.
Constructor and Description |
---|
AwsCodeBuildProjectEnvironmentRegistryCredential() |
Modifier and Type | Method and Description |
---|---|
AwsCodeBuildProjectEnvironmentRegistryCredential |
clone() |
boolean |
equals(Object obj) |
String |
getCredential()
The Amazon Resource Name (ARN) or name of credentials created using AWS Secrets Manager.
|
String |
getCredentialProvider()
The service that created the credentials to access a private Docker registry.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCredential(String credential)
The Amazon Resource Name (ARN) or name of credentials created using AWS Secrets Manager.
|
void |
setCredentialProvider(String credentialProvider)
The service that created the credentials to access a private Docker registry.
|
String |
toString()
Returns a string representation of this object.
|
AwsCodeBuildProjectEnvironmentRegistryCredential |
withCredential(String credential)
The Amazon Resource Name (ARN) or name of credentials created using AWS Secrets Manager.
|
AwsCodeBuildProjectEnvironmentRegistryCredential |
withCredentialProvider(String credentialProvider)
The service that created the credentials to access a private Docker registry.
|
public AwsCodeBuildProjectEnvironmentRegistryCredential()
public void setCredential(String credential)
The Amazon Resource Name (ARN) or name of credentials created using AWS Secrets Manager.
The credential can use the name of the credentials only if they exist in your current AWS Region.
credential
- The Amazon Resource Name (ARN) or name of credentials created using AWS Secrets Manager. The credential can use the name of the credentials only if they exist in your current AWS Region.
public String getCredential()
The Amazon Resource Name (ARN) or name of credentials created using AWS Secrets Manager.
The credential can use the name of the credentials only if they exist in your current AWS Region.
The credential can use the name of the credentials only if they exist in your current AWS Region.
public AwsCodeBuildProjectEnvironmentRegistryCredential withCredential(String credential)
The Amazon Resource Name (ARN) or name of credentials created using AWS Secrets Manager.
The credential can use the name of the credentials only if they exist in your current AWS Region.
credential
- The Amazon Resource Name (ARN) or name of credentials created using AWS Secrets Manager. The credential can use the name of the credentials only if they exist in your current AWS Region.
public void setCredentialProvider(String credentialProvider)
The service that created the credentials to access a private Docker registry.
The valid value, SECRETS_MANAGER
, is for AWS Secrets Manager.
credentialProvider
- The service that created the credentials to access a private Docker registry.
The valid value, SECRETS_MANAGER
, is for AWS Secrets Manager.
public String getCredentialProvider()
The service that created the credentials to access a private Docker registry.
The valid value, SECRETS_MANAGER
, is for AWS Secrets Manager.
The valid value, SECRETS_MANAGER
, is for AWS Secrets Manager.
public AwsCodeBuildProjectEnvironmentRegistryCredential withCredentialProvider(String credentialProvider)
The service that created the credentials to access a private Docker registry.
The valid value, SECRETS_MANAGER
, is for AWS Secrets Manager.
credentialProvider
- The service that created the credentials to access a private Docker registry.
The valid value, SECRETS_MANAGER
, is for AWS Secrets Manager.
public String toString()
toString
in class Object
Object.toString()
public AwsCodeBuildProjectEnvironmentRegistryCredential clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.