Class ShareDetails
- java.lang.Object
-
- software.amazon.awssdk.services.omics.model.ShareDetails
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ShareDetails.Builder,ShareDetails>
@Generated("software.amazon.awssdk:codegen") public final class ShareDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ShareDetails.Builder,ShareDetails>
The details of a share.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceShareDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ShareDetails.Builderbuilder()InstantcreationTime()The timestamp for when the share was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringownerId()The account ID for the data owner.StringprincipalSubscriber()The principal subscriber is the account the analytics store data is being shared with.StringresourceArn()The resource Arn of the analytics store being shared.List<SdkField<?>>sdkFields()static Class<? extends ShareDetails.Builder>serializableBuilderClass()StringshareId()The ID for a share offer for an analytics store .StringshareName()The name of the share.ShareStatusstatus()The status of a share.StringstatusAsString()The status of a share.StringstatusMessage()The status message for a share.ShareDetails.BuildertoBuilder()StringtoString()Returns a string representation of this object.InstantupdateTime()The timestamp of the share update.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
shareId
public final String shareId()
The ID for a share offer for an analytics store .
- Returns:
- The ID for a share offer for an analytics store .
-
resourceArn
public final String resourceArn()
The resource Arn of the analytics store being shared.
- Returns:
- The resource Arn of the analytics store being shared.
-
principalSubscriber
public final String principalSubscriber()
The principal subscriber is the account the analytics store data is being shared with.
- Returns:
- The principal subscriber is the account the analytics store data is being shared with.
-
ownerId
public final String ownerId()
The account ID for the data owner. The owner creates the share offer.
- Returns:
- The account ID for the data owner. The owner creates the share offer.
-
status
public final ShareStatus status()
The status of a share.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnShareStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of a share.
- See Also:
ShareStatus
-
statusAsString
public final String statusAsString()
The status of a share.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnShareStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of a share.
- See Also:
ShareStatus
-
statusMessage
public final String statusMessage()
The status message for a share. It provides more details on the status of the share.
- Returns:
- The status message for a share. It provides more details on the status of the share.
-
shareName
public final String shareName()
The name of the share.
- Returns:
- The name of the share.
-
creationTime
public final Instant creationTime()
The timestamp for when the share was created.
- Returns:
- The timestamp for when the share was created.
-
updateTime
public final Instant updateTime()
The timestamp of the share update.
- Returns:
- The timestamp of the share update.
-
toBuilder
public ShareDetails.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ShareDetails.Builder,ShareDetails>
-
builder
public static ShareDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends ShareDetails.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-