@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RepositoryAuthConfig extends Object implements Serializable, Cloneable, StructuredPojo
Specifies an authentication configuration for the private docker registry where your model image is hosted. Specify a
value for this property only if you specified Vpc
as the value for the RepositoryAccessMode
field of the ImageConfig
object that you passed to a call to CreateModel and the private Docker
registry where the model image is hosted requires authentication.
Constructor and Description |
---|
RepositoryAuthConfig() |
Modifier and Type | Method and Description |
---|---|
RepositoryAuthConfig |
clone() |
boolean |
equals(Object obj) |
String |
getRepositoryCredentialsProviderArn()
The Amazon Resource Name (ARN) of an AWS Lambda function that provides credentials to authenticate to the private
Docker registry where your model image is hosted.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRepositoryCredentialsProviderArn(String repositoryCredentialsProviderArn)
The Amazon Resource Name (ARN) of an AWS Lambda function that provides credentials to authenticate to the private
Docker registry where your model image is hosted.
|
String |
toString()
Returns a string representation of this object.
|
RepositoryAuthConfig |
withRepositoryCredentialsProviderArn(String repositoryCredentialsProviderArn)
The Amazon Resource Name (ARN) of an AWS Lambda function that provides credentials to authenticate to the private
Docker registry where your model image is hosted.
|
public void setRepositoryCredentialsProviderArn(String repositoryCredentialsProviderArn)
The Amazon Resource Name (ARN) of an AWS Lambda function that provides credentials to authenticate to the private Docker registry where your model image is hosted. For information about how to create an AWS Lambda function, see Create a Lambda function with the console in the AWS Lambda Developer Guide.
repositoryCredentialsProviderArn
- The Amazon Resource Name (ARN) of an AWS Lambda function that provides credentials to authenticate to the
private Docker registry where your model image is hosted. For information about how to create an AWS
Lambda function, see Create a Lambda
function with the console in the AWS Lambda Developer Guide.public String getRepositoryCredentialsProviderArn()
The Amazon Resource Name (ARN) of an AWS Lambda function that provides credentials to authenticate to the private Docker registry where your model image is hosted. For information about how to create an AWS Lambda function, see Create a Lambda function with the console in the AWS Lambda Developer Guide.
public RepositoryAuthConfig withRepositoryCredentialsProviderArn(String repositoryCredentialsProviderArn)
The Amazon Resource Name (ARN) of an AWS Lambda function that provides credentials to authenticate to the private Docker registry where your model image is hosted. For information about how to create an AWS Lambda function, see Create a Lambda function with the console in the AWS Lambda Developer Guide.
repositoryCredentialsProviderArn
- The Amazon Resource Name (ARN) of an AWS Lambda function that provides credentials to authenticate to the
private Docker registry where your model image is hosted. For information about how to create an AWS
Lambda function, see Create a Lambda
function with the console in the AWS Lambda Developer Guide.public String toString()
toString
in class Object
Object.toString()
public RepositoryAuthConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.