@Generated(value="software.amazon.awssdk:codegen") public final class ResourceSetSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResourceSetSummary.Builder,ResourceSetSummary>
Summarizes the resource sets used in a policy.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ResourceSetSummary.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ResourceSetSummary.Builder |
builder() |
String |
description()
A description of the resource set.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
A unique identifier for the resource set.
|
Instant |
lastUpdateTime()
The last time that the resource set was changed.
|
String |
name()
The descriptive name of the resource set.
|
ResourceSetStatus |
resourceSetStatus()
Indicates whether the resource set is in or out of an admin's Region scope.
|
String |
resourceSetStatusAsString()
Indicates whether the resource set is in or out of an admin's Region scope.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ResourceSetSummary.Builder> |
serializableBuilderClass() |
ResourceSetSummary.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String id()
A unique identifier for the resource set. This ID is returned in the responses to create and list commands. You provide it to operations like update and delete.
public final String name()
The descriptive name of the resource set. You can't change the name of a resource set after you create it.
public final String description()
A description of the resource set.
public final Instant lastUpdateTime()
The last time that the resource set was changed.
public final ResourceSetStatus resourceSetStatus()
Indicates whether the resource set is in or out of an admin's Region scope.
ACTIVE - The administrator can manage and delete the resource set.
OUT_OF_ADMIN_SCOPE - The administrator can view the resource set, but they can't edit or delete the
resource set. Existing protections stay in place. Any new resource that come into scope of the resource set won't
be protected.
If the service returns an enum value that is not available in the current SDK version, resourceSetStatus
will return ResourceSetStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from resourceSetStatusAsString().
ACTIVE - The administrator can manage and delete the resource set.
OUT_OF_ADMIN_SCOPE - The administrator can view the resource set, but they can't edit or
delete the resource set. Existing protections stay in place. Any new resource that come into scope of the
resource set won't be protected.
ResourceSetStatuspublic final String resourceSetStatusAsString()
Indicates whether the resource set is in or out of an admin's Region scope.
ACTIVE - The administrator can manage and delete the resource set.
OUT_OF_ADMIN_SCOPE - The administrator can view the resource set, but they can't edit or delete the
resource set. Existing protections stay in place. Any new resource that come into scope of the resource set won't
be protected.
If the service returns an enum value that is not available in the current SDK version, resourceSetStatus
will return ResourceSetStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from resourceSetStatusAsString().
ACTIVE - The administrator can manage and delete the resource set.
OUT_OF_ADMIN_SCOPE - The administrator can view the resource set, but they can't edit or
delete the resource set. Existing protections stay in place. Any new resource that come into scope of the
resource set won't be protected.
ResourceSetStatuspublic ResourceSetSummary.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ResourceSetSummary.Builder,ResourceSetSummary>public static ResourceSetSummary.Builder builder()
public static Class<? extends ResourceSetSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.