Class ContainerServiceECRImagePullerRole
- java.lang.Object
-
- software.amazon.awssdk.services.lightsail.model.ContainerServiceECRImagePullerRole
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ContainerServiceECRImagePullerRole.Builder,ContainerServiceECRImagePullerRole>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceContainerServiceECRImagePullerRole.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ContainerServiceECRImagePullerRole.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanisActive()A Boolean value that indicates whether the role is activated.StringprincipalArn()The Amazon Resource Name (ARN) of the role, if it is activated.List<SdkField<?>>sdkFields()static Class<? extends ContainerServiceECRImagePullerRole.Builder>serializableBuilderClass()ContainerServiceECRImagePullerRole.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
isActive
public final Boolean isActive()
A Boolean value that indicates whether the role is activated.
- Returns:
- A Boolean value that indicates whether the role is activated.
-
principalArn
public final String principalArn()
The Amazon Resource Name (ARN) of the role, if it is activated.
- Returns:
- The Amazon Resource Name (ARN) of the role, if it is activated.
-
toBuilder
public ContainerServiceECRImagePullerRole.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ContainerServiceECRImagePullerRole.Builder,ContainerServiceECRImagePullerRole>
-
builder
public static ContainerServiceECRImagePullerRole.Builder builder()
-
serializableBuilderClass
public static Class<? extends ContainerServiceECRImagePullerRole.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-