@Generated(value="software.amazon.awssdk:codegen") public final class ResourceSharePermissionSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResourceSharePermissionSummary.Builder,ResourceSharePermissionSummary>
Information about a permission that is associated with a resource share.
Modifier and Type | Class and Description |
---|---|
static interface |
ResourceSharePermissionSummary.Builder |
Modifier and Type | Method and Description |
---|---|
String |
arn()
The ARN of the permission.
|
static ResourceSharePermissionSummary.Builder |
builder() |
Instant |
creationTime()
The date and time when the permission was created.
|
Boolean |
defaultVersion()
The identifier for the version of the permission that is set as the default version.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastUpdatedTime()
The date and time when the permission was last updated.
|
String |
name()
The name of the permission.
|
String |
resourceType()
The type of resource to which the permission applies.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ResourceSharePermissionSummary.Builder> |
serializableBuilderClass() |
String |
status()
The current status of the permission.
|
ResourceSharePermissionSummary.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
String |
version()
The identifier for the version of the permission.
|
copy
public final String arn()
The ARN of the permission.
public final String version()
The identifier for the version of the permission.
public final Boolean defaultVersion()
The identifier for the version of the permission that is set as the default version.
public final String name()
The name of the permission.
public final String resourceType()
The type of resource to which the permission applies.
public final String status()
The current status of the permission.
public final Instant creationTime()
The date and time when the permission was created.
public final Instant lastUpdatedTime()
The date and time when the permission was last updated.
public ResourceSharePermissionSummary.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ResourceSharePermissionSummary.Builder,ResourceSharePermissionSummary>
public static ResourceSharePermissionSummary.Builder builder()
public static Class<? extends ResourceSharePermissionSummary.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()