@Generated(value="software.amazon.awssdk:codegen") public final class ResourceShareInvitation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ResourceShareInvitation.Builder,ResourceShareInvitation>
Describes an invitation to join a resource share.
Modifier and Type | Class and Description |
---|---|
static interface |
ResourceShareInvitation.Builder |
Modifier and Type | Method and Description |
---|---|
static ResourceShareInvitation.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Instant |
invitationTimestamp()
The date and time when the invitation was sent.
|
String |
receiverAccountId()
The ID of the AWS account that received the invitation.
|
String |
resourceShareArn()
The Amazon Resource Name (ARN) of the resource share.
|
List<ResourceShareAssociation> |
resourceShareAssociations()
The resources associated with the resource share.
|
String |
resourceShareInvitationArn()
The Amazon Resource Name (ARN) of the invitation.
|
String |
resourceShareName()
The name of the resource share.
|
List<SdkField<?>> |
sdkFields() |
String |
senderAccountId()
The ID of the AWS account that sent the invitation.
|
static Class<? extends ResourceShareInvitation.Builder> |
serializableBuilderClass() |
ResourceShareInvitationStatus |
status()
The status of the invitation.
|
String |
statusAsString()
The status of the invitation.
|
ResourceShareInvitation.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 resourceShareInvitationArn()
The Amazon Resource Name (ARN) of the invitation.
public String resourceShareName()
The name of the resource share.
public String resourceShareArn()
The Amazon Resource Name (ARN) of the resource share.
public String senderAccountId()
The ID of the AWS account that sent the invitation.
public String receiverAccountId()
The ID of the AWS account that received the invitation.
public Instant invitationTimestamp()
The date and time when the invitation was sent.
public ResourceShareInvitationStatus status()
The status of the invitation.
If the service returns an enum value that is not available in the current SDK version, status
will
return ResourceShareInvitationStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from statusAsString()
.
ResourceShareInvitationStatus
public String statusAsString()
The status of the invitation.
If the service returns an enum value that is not available in the current SDK version, status
will
return ResourceShareInvitationStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is
available from statusAsString()
.
ResourceShareInvitationStatus
public List<ResourceShareAssociation> resourceShareAssociations()
The resources associated with the resource share.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public ResourceShareInvitation.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ResourceShareInvitation.Builder,ResourceShareInvitation>
public static ResourceShareInvitation.Builder builder()
public static Class<? extends ResourceShareInvitation.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.