@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 ARN or name of credentials created using 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 ARN or name of credentials created using 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 ARN or name of credentials created using 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 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.
credential
- The 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.
public String getCredential()
The 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.
The credential can use the name of the credentials only if they exist in your current Amazon Web Services Region.
public AwsCodeBuildProjectEnvironmentRegistryCredential withCredential(String credential)
The 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.
credential
- The 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.
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.
credentialProvider
- The service that created the credentials to access a private Docker registry.
The valid value, SECRETS_MANAGER
, is for Secrets Manager.
public String getCredentialProvider()
The service that created the credentials to access a private Docker registry.
The valid value, SECRETS_MANAGER
, is for Secrets Manager.
The valid value, SECRETS_MANAGER
, is for 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 Secrets Manager.
credentialProvider
- The service that created the credentials to access a private Docker registry.
The valid value, SECRETS_MANAGER
, is for 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.