@Generated(value="software.amazon.awssdk:codegen") public final class GetRoleRequest extends IamRequest implements ToCopyableBuilder<GetRoleRequest.Builder,GetRoleRequest>
Modifier and Type | Class and Description |
---|---|
static interface |
GetRoleRequest.Builder |
Modifier and Type | Method and Description |
---|---|
static GetRoleRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
roleName()
The name of the IAM role to get information about.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetRoleRequest.Builder> |
serializableBuilderClass() |
GetRoleRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String roleName()
The name of the IAM role to get information about.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
public GetRoleRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<GetRoleRequest.Builder,GetRoleRequest>
toBuilder
in class IamRequest
public static GetRoleRequest.Builder builder()
public static Class<? extends GetRoleRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode
in class AwsRequest
public boolean equals(Object obj)
equals
in class AwsRequest
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2019. All rights reserved.