@Generated(value="software.amazon.awssdk:codegen") public final class ContainerServiceECRImagePullerRoleRequest extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ContainerServiceECRImagePullerRoleRequest.Builder,ContainerServiceECRImagePullerRoleRequest>
Describes a request to activate or deactivate 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 |
ContainerServiceECRImagePullerRoleRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ContainerServiceECRImagePullerRoleRequest.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 to activate the role.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ContainerServiceECRImagePullerRoleRequest.Builder> |
serializableBuilderClass() |
ContainerServiceECRImagePullerRoleRequest.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 to activate the role.
public ContainerServiceECRImagePullerRoleRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ContainerServiceECRImagePullerRoleRequest.Builder,ContainerServiceECRImagePullerRoleRequest>public static ContainerServiceECRImagePullerRoleRequest.Builder builder()
public static Class<? extends ContainerServiceECRImagePullerRoleRequest.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.