@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PrivateRegistryAccess extends Object implements Serializable, Cloneable, StructuredPojo
Describes the configuration for an Amazon Lightsail container service to access private container image repositories, such as Amazon Elastic Container Registry (Amazon ECR) private repositories.
For more information, see Configuring access to an Amazon ECR private repository for an Amazon Lightsail container service in the Amazon Lightsail Developer Guide.
Constructor and Description |
---|
PrivateRegistryAccess() |
Modifier and Type | Method and Description |
---|---|
PrivateRegistryAccess |
clone() |
boolean |
equals(Object obj) |
ContainerServiceECRImagePullerRole |
getEcrImagePullerRole()
An object that describes the activation status of the role that you can use to grant a Lightsail container
service access to Amazon ECR private repositories.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEcrImagePullerRole(ContainerServiceECRImagePullerRole ecrImagePullerRole)
An object that describes the activation status of the role that you can use to grant a Lightsail container
service access to Amazon ECR private repositories.
|
String |
toString()
Returns a string representation of this object.
|
PrivateRegistryAccess |
withEcrImagePullerRole(ContainerServiceECRImagePullerRole ecrImagePullerRole)
An object that describes the activation status of the role that you can use to grant a Lightsail container
service access to Amazon ECR private repositories.
|
public void setEcrImagePullerRole(ContainerServiceECRImagePullerRole ecrImagePullerRole)
An object that describes the activation status of the role that you can use to grant a Lightsail container service access to Amazon ECR private repositories. If the role is activated, the Amazon Resource Name (ARN) of the role is also listed.
ecrImagePullerRole
- An object that describes the activation status of the role that you can use to grant a Lightsail container
service access to Amazon ECR private repositories. If the role is activated, the Amazon Resource Name
(ARN) of the role is also listed.public ContainerServiceECRImagePullerRole getEcrImagePullerRole()
An object that describes the activation status of the role that you can use to grant a Lightsail container service access to Amazon ECR private repositories. If the role is activated, the Amazon Resource Name (ARN) of the role is also listed.
public PrivateRegistryAccess withEcrImagePullerRole(ContainerServiceECRImagePullerRole ecrImagePullerRole)
An object that describes the activation status of the role that you can use to grant a Lightsail container service access to Amazon ECR private repositories. If the role is activated, the Amazon Resource Name (ARN) of the role is also listed.
ecrImagePullerRole
- An object that describes the activation status of the role that you can use to grant a Lightsail container
service access to Amazon ECR private repositories. If the role is activated, the Amazon Resource Name
(ARN) of the role is also listed.public String toString()
toString
in class Object
Object.toString()
public PrivateRegistryAccess clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.