@Generated(value="software.amazon.awssdk:codegen") public final class RoleUsageType extends Object implements ToCopyableBuilder<RoleUsageType.Builder,RoleUsageType>
An object that contains details about how a service-linked role is used.
This data type is used as a response element in the GetServiceLinkedRoleDeletionStatus operation.
Modifier and Type | Class and Description |
---|---|
static interface |
RoleUsageType.Builder |
Modifier and Type | Method and Description |
---|---|
static RoleUsageType.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
region()
The name of the region where the service-linked role is being used.
|
List<String> |
resources()
The name of the resource that is using the service-linked role.
|
static Class<? extends RoleUsageType.Builder> |
serializableBuilderClass() |
RoleUsageType.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String region()
The name of the region where the service-linked role is being used.
public List<String> resources()
The name of the resource that is using the service-linked role.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public RoleUsageType.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<RoleUsageType.Builder,RoleUsageType>
public static RoleUsageType.Builder builder()
public static Class<? extends RoleUsageType.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.