@Generated(value="software.amazon.awssdk:codegen") public final class CreateDataSetResponse extends DataExchangeResponse implements ToCopyableBuilder<CreateDataSetResponse.Builder,CreateDataSetResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateDataSetResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The ARN for the data set.
|
AssetType |
assetType()
The type of asset that is added to a data set.
|
String |
assetTypeAsString()
The type of asset that is added to a data set.
|
static CreateDataSetResponse.Builder |
builder() |
Instant |
createdAt()
The date and time that the data set was created, in ISO 8601 format.
|
String |
description()
The description for the data set.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
String |
id()
The unique identifier for the data set.
|
String |
name()
The name of the data set.
|
Origin |
origin()
A property that defines the data set as OWNED by the account (for providers) or ENTITLED to the account (for
subscribers).
|
String |
originAsString()
A property that defines the data set as OWNED by the account (for providers) or ENTITLED to the account (for
subscribers).
|
OriginDetails |
originDetails()
If the origin of this data set is ENTITLED, includes the details for the product on AWS Marketplace.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateDataSetResponse.Builder> |
serializableBuilderClass() |
String |
sourceId()
The data set ID of the owned data set corresponding to the entitled data set being viewed.
|
Map<String,String> |
tags()
The tags for the data set.
|
CreateDataSetResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Instant |
updatedAt()
The date and time that the data set was last updated, in ISO 8601 format.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String arn()
The ARN for the data set.
public final AssetType assetType()
The type of asset that is added to a data set.
If the service returns an enum value that is not available in the current SDK version, assetType will
return AssetType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
assetTypeAsString().
AssetTypepublic final String assetTypeAsString()
The type of asset that is added to a data set.
If the service returns an enum value that is not available in the current SDK version, assetType will
return AssetType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
assetTypeAsString().
AssetTypepublic final Instant createdAt()
The date and time that the data set was created, in ISO 8601 format.
public final String description()
The description for the data set.
public final String id()
The unique identifier for the data set.
public final String name()
The name of the data set.
public final Origin origin()
A property that defines the data set as OWNED by the account (for providers) or ENTITLED to the account (for subscribers).
If the service returns an enum value that is not available in the current SDK version, origin will
return Origin.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
originAsString().
Originpublic final String originAsString()
A property that defines the data set as OWNED by the account (for providers) or ENTITLED to the account (for subscribers).
If the service returns an enum value that is not available in the current SDK version, origin will
return Origin.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
originAsString().
Originpublic final OriginDetails originDetails()
If the origin of this data set is ENTITLED, includes the details for the product on AWS Marketplace.
public final String sourceId()
The data set ID of the owned data set corresponding to the entitled data set being viewed. This parameter is returned when a data set owner is viewing the entitled copy of its owned data set.
public final boolean hasTags()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final Map<String,String> tags()
The tags for the data set.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags() method.
public final Instant updatedAt()
The date and time that the data set was last updated, in ISO 8601 format.
public CreateDataSetResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateDataSetResponse.Builder,CreateDataSetResponse>toBuilder in class AwsResponsepublic static CreateDataSetResponse.Builder builder()
public static Class<? extends CreateDataSetResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.