@Generated(value="software.amazon.awssdk:codegen") public final class CreateAssetResponse extends DataZoneResponse implements ToCopyableBuilder<CreateAssetResponse.Builder,CreateAssetResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateAssetResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateAssetResponse.Builder |
builder() |
Instant |
createdAt()
The timestamp of when the asset was created.
|
String |
createdBy()
The Amazon DataZone user that created this asset in the catalog.
|
String |
description()
The description of the created asset.
|
String |
domainId()
The ID of the Amazon DataZone domain in which the asset was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
externalIdentifier()
|
Instant |
firstRevisionCreatedAt()
The timestamp of when the first revision of the asset took place.
|
String |
firstRevisionCreatedBy()
The Amazon DataZone user that made the first revision of the asset.
|
List<FormOutput> |
formsOutput()
The metadata forms that are attached to the created asset.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
List<String> |
glossaryTerms()
The glossary terms that are attached to the created asset.
|
boolean |
hasFormsOutput()
For responses, this returns true if the service returned a value for the FormsOutput property.
|
boolean |
hasGlossaryTerms()
For responses, this returns true if the service returned a value for the GlossaryTerms property.
|
int |
hashCode() |
boolean |
hasReadOnlyFormsOutput()
For responses, this returns true if the service returned a value for the ReadOnlyFormsOutput property.
|
String |
id()
The unique identifier of the created asset.
|
AssetListingDetails |
listing()
|
String |
name()
The name of the created asset.
|
String |
owningProjectId()
The ID of the Amazon DataZone project that owns the created asset.
|
PredictionConfiguration |
predictionConfiguration()
The configuration of the automatically generated business-friendly metadata for the asset.
|
List<FormOutput> |
readOnlyFormsOutput()
The read-only metadata forms that are attached to the created asset.
|
String |
revision()
The revision of the asset.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateAssetResponse.Builder> |
serializableBuilderClass() |
CreateAssetResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
typeIdentifier()
The identifier of the created asset type.
|
String |
typeRevision()
The revision type of the asset.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Instant createdAt()
The timestamp of when the asset was created.
public final String createdBy()
The Amazon DataZone user that created this asset in the catalog.
public final String description()
The description of the created asset.
public final String domainId()
The ID of the Amazon DataZone domain in which the asset was created.
public final String externalIdentifier()
public final Instant firstRevisionCreatedAt()
The timestamp of when the first revision of the asset took place.
public final String firstRevisionCreatedBy()
The Amazon DataZone user that made the first revision of the asset.
public final boolean hasFormsOutput()
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 List<FormOutput> formsOutput()
The metadata forms that are attached to the created asset.
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 hasFormsOutput() method.
public final boolean hasGlossaryTerms()
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 List<String> glossaryTerms()
The glossary terms that are attached to the created asset.
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 hasGlossaryTerms() method.
public final String id()
The unique identifier of the created asset.
public final AssetListingDetails listing()
public final String name()
The name of the created asset.
public final String owningProjectId()
The ID of the Amazon DataZone project that owns the created asset.
public final PredictionConfiguration predictionConfiguration()
The configuration of the automatically generated business-friendly metadata for the asset.
public final boolean hasReadOnlyFormsOutput()
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 List<FormOutput> readOnlyFormsOutput()
The read-only metadata forms that are attached to the created asset.
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 hasReadOnlyFormsOutput() method.
public final String revision()
The revision of the asset.
public final String typeIdentifier()
The identifier of the created asset type.
public final String typeRevision()
The revision type of the asset.
public CreateAssetResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateAssetResponse.Builder,CreateAssetResponse>toBuilder in class AwsResponsepublic static CreateAssetResponse.Builder builder()
public static Class<? extends CreateAssetResponse.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.