@Generated(value="software.amazon.awssdk:codegen") public final class UpdateManagedInstanceRoleRequest extends SsmRequest implements ToCopyableBuilder<UpdateManagedInstanceRoleRequest.Builder,UpdateManagedInstanceRoleRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateManagedInstanceRoleRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdateManagedInstanceRoleRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
iamRole()
The name of the Identity and Access Management (IAM) role that you want to assign to the managed node.
|
String |
instanceId()
The ID of the managed node where you want to update the role.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateManagedInstanceRoleRequest.Builder> |
serializableBuilderClass() |
UpdateManagedInstanceRoleRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String instanceId()
The ID of the managed node where you want to update the role.
public final String iamRole()
The name of the Identity and Access Management (IAM) role that you want to assign to the managed node. This IAM
role must provide AssumeRole permissions for the Amazon Web Services Systems Manager service principal
ssm.amazonaws.com. For more information, see Create an IAM
service role for a hybrid environment in the Amazon Web Services Systems Manager User Guide.
You can't specify an IAM service-linked role for this parameter. You must create a unique role.
ssm.amazonaws.com. For more information, see Create an
IAM service role for a hybrid environment in the Amazon Web Services Systems Manager User
Guide. You can't specify an IAM service-linked role for this parameter. You must create a unique role.
public UpdateManagedInstanceRoleRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateManagedInstanceRoleRequest.Builder,UpdateManagedInstanceRoleRequest>toBuilder in class SsmRequestpublic static UpdateManagedInstanceRoleRequest.Builder builder()
public static Class<? extends UpdateManagedInstanceRoleRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2022. All rights reserved.