Class ReceivedDataGrantSummariesEntry
- java.lang.Object
-
- software.amazon.awssdk.services.dataexchange.model.ReceivedDataGrantSummariesEntry
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ReceivedDataGrantSummariesEntry.Builder,ReceivedDataGrantSummariesEntry>
@Generated("software.amazon.awssdk:codegen") public final class ReceivedDataGrantSummariesEntry extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ReceivedDataGrantSummariesEntry.Builder,ReceivedDataGrantSummariesEntry>
Information about a received data grant.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceReceivedDataGrantSummariesEntry.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DataGrantAcceptanceStateacceptanceState()The acceptance state of the data grant.StringacceptanceStateAsString()The acceptance state of the data grant.InstantacceptedAt()The timestamp of when the data grant was accepted.Stringarn()The Amazon Resource Name (ARN) of the data grant.static ReceivedDataGrantSummariesEntry.Builderbuilder()InstantcreatedAt()The timestamp of when the data grant was created.StringdataSetId()The ID of the data set associated to the data grant.InstantendsAt()The timestamp of when access to the associated data set ends.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The ID of the data grant.Stringname()The name of the data grant.StringreceiverPrincipal()The Amazon Web Services account ID of the data grant receiver.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()StringsenderPrincipal()The Amazon Web Services account ID of the data grant sender.static Class<? extends ReceivedDataGrantSummariesEntry.Builder>serializableBuilderClass()ReceivedDataGrantSummariesEntry.BuildertoBuilder()StringtoString()Returns a string representation of this object.InstantupdatedAt()The timestamp of when the data grant was last updated.-
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
-
name
public final String name()
The name of the data grant.
- Returns:
- The name of the data grant.
-
senderPrincipal
public final String senderPrincipal()
The Amazon Web Services account ID of the data grant sender.
- Returns:
- The Amazon Web Services account ID of the data grant sender.
-
receiverPrincipal
public final String receiverPrincipal()
The Amazon Web Services account ID of the data grant receiver.
- Returns:
- The Amazon Web Services account ID of the data grant receiver.
-
acceptanceState
public final DataGrantAcceptanceState acceptanceState()
The acceptance state of the data grant.
If the service returns an enum value that is not available in the current SDK version,
acceptanceStatewill returnDataGrantAcceptanceState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromacceptanceStateAsString().- Returns:
- The acceptance state of the data grant.
- See Also:
DataGrantAcceptanceState
-
acceptanceStateAsString
public final String acceptanceStateAsString()
The acceptance state of the data grant.
If the service returns an enum value that is not available in the current SDK version,
acceptanceStatewill returnDataGrantAcceptanceState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromacceptanceStateAsString().- Returns:
- The acceptance state of the data grant.
- See Also:
DataGrantAcceptanceState
-
acceptedAt
public final Instant acceptedAt()
The timestamp of when the data grant was accepted.
- Returns:
- The timestamp of when the data grant was accepted.
-
endsAt
public final Instant endsAt()
The timestamp of when access to the associated data set ends.
- Returns:
- The timestamp of when access to the associated data set ends.
-
dataSetId
public final String dataSetId()
The ID of the data set associated to the data grant.
- Returns:
- The ID of the data set associated to the data grant.
-
id
public final String id()
The ID of the data grant.
- Returns:
- The ID of the data grant.
-
arn
public final String arn()
The Amazon Resource Name (ARN) of the data grant.
- Returns:
- The Amazon Resource Name (ARN) of the data grant.
-
createdAt
public final Instant createdAt()
The timestamp of when the data grant was created.
- Returns:
- The timestamp of when the data grant was created.
-
updatedAt
public final Instant updatedAt()
The timestamp of when the data grant was last updated.
- Returns:
- The timestamp of when the data grant was last updated.
-
toBuilder
public ReceivedDataGrantSummariesEntry.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ReceivedDataGrantSummariesEntry.Builder,ReceivedDataGrantSummariesEntry>
-
builder
public static ReceivedDataGrantSummariesEntry.Builder builder()
-
serializableBuilderClass
public static Class<? extends ReceivedDataGrantSummariesEntry.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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-