@Generated(value="software.amazon.awssdk:codegen") public final class ResourceShare extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResourceShare.Builder,ResourceShare>
Describes a resource share.
Modifier and Type | Class and Description |
---|---|
static interface |
ResourceShare.Builder |
Modifier and Type | Method and Description |
---|---|
Boolean |
allowExternalPrincipals()
Indicates whether principals outside your organization can be associated with a resource share.
|
static ResourceShare.Builder |
builder() |
Instant |
creationTime()
The time when the resource share was created.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
lastUpdatedTime()
The time when the resource share was last updated.
|
String |
name()
The name of the resource share.
|
String |
owningAccountId()
The ID of the AWS account that owns the resource share.
|
String |
resourceShareArn()
The Amazon Resource Name (ARN) of the resource share.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ResourceShare.Builder> |
serializableBuilderClass() |
ResourceShareStatus |
status()
The status of the resource share.
|
String |
statusAsString()
The status of the resource share.
|
String |
statusMessage()
A message about the status of the resource share.
|
List<Tag> |
tags()
The tags for the resource share.
|
ResourceShare.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 resourceShareArn()
The Amazon Resource Name (ARN) of the resource share.
public String name()
The name of the resource share.
public String owningAccountId()
The ID of the AWS account that owns the resource share.
public Boolean allowExternalPrincipals()
Indicates whether principals outside your organization can be associated with a resource share.
public ResourceShareStatus status()
The status of the resource share.
If the service returns an enum value that is not available in the current SDK version, status
will
return ResourceShareStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from statusAsString()
.
ResourceShareStatus
public String statusAsString()
The status of the resource share.
If the service returns an enum value that is not available in the current SDK version, status
will
return ResourceShareStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from statusAsString()
.
ResourceShareStatus
public String statusMessage()
A message about the status of the resource share.
public List<Tag> tags()
The tags for the resource share.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Instant creationTime()
The time when the resource share was created.
public Instant lastUpdatedTime()
The time when the resource share was last updated.
public ResourceShare.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ResourceShare.Builder,ResourceShare>
public static ResourceShare.Builder builder()
public static Class<? extends ResourceShare.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.