@Generated(value="software.amazon.awssdk:codegen") public final class ContainerServiceECRImagePullerRole extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ContainerServiceECRImagePullerRole.Builder,ContainerServiceECRImagePullerRole>
Describes the activation status of the role that you can use to grant an Amazon Lightsail container service access to Amazon Elastic Container Registry (Amazon ECR) private repositories.
When activated, Lightsail creates an Identity and Access Management (IAM) role for the specified Lightsail container service. You can use the ARN of the role to create a trust relationship between your Lightsail container service and an Amazon ECR private repository in your Amazon Web Services account. This allows your container service to pull images from 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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ContainerServiceECRImagePullerRole.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ContainerServiceECRImagePullerRole.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
isActive()
A Boolean value that indicates whether the role is activated.
|
String |
principalArn()
The Amazon Resource Name (ARN) of the role, if it is activated.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ContainerServiceECRImagePullerRole.Builder> |
serializableBuilderClass() |
ContainerServiceECRImagePullerRole.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Boolean isActive()
A Boolean value that indicates whether the role is activated.
public final String principalArn()
The Amazon Resource Name (ARN) of the role, if it is activated.
public ContainerServiceECRImagePullerRole.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ContainerServiceECRImagePullerRole.Builder,ContainerServiceECRImagePullerRole>public static ContainerServiceECRImagePullerRole.Builder builder()
public static Class<? extends ContainerServiceECRImagePullerRole.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.