@Generated(value="software.amazon.awssdk:codegen") public final class GetAssetResponse extends DataZoneResponse implements ToCopyableBuilder<GetAssetResponse.Builder,GetAssetResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetAssetResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetAssetResponse.Builder |
builder() |
Instant |
createdAt()
The timestamp of when the asset was created.
|
String |
createdBy()
The Amazon DataZone user who created the asset.
|
String |
description()
The description of the Amazon DataZone asset.
|
String |
domainId()
The ID of the Amazon DataZone domain to which the asset belongs.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
externalIdentifier()
|
Instant |
firstRevisionCreatedAt()
The timestamp of when the first revision of the asset was created.
|
String |
firstRevisionCreatedBy()
The Amazon DataZone user who created the first revision of the asset.
|
List<FormOutput> |
formsOutput()
The metadata forms attached to the asset.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
List<String> |
glossaryTerms()
The business glossary terms attached to the 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 ID of the asset.
|
AssetListingDetails |
listing()
|
String |
name()
The name of the asset.
|
String |
owningProjectId()
The ID of the project that owns the asset.
|
List<FormOutput> |
readOnlyFormsOutput()
The read-only metadata forms attached to the asset.
|
String |
revision()
The revision of the asset.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetAssetResponse.Builder> |
serializableBuilderClass() |
GetAssetResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
typeIdentifier()
The ID of the asset type.
|
String |
typeRevision()
The revision of the asset type.
|
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 who created the asset.
public final String description()
The description of the Amazon DataZone asset.
public final String domainId()
The ID of the Amazon DataZone domain to which the asset belongs.
public final String externalIdentifier()
public final Instant firstRevisionCreatedAt()
The timestamp of when the first revision of the asset was created.
public final String firstRevisionCreatedBy()
The Amazon DataZone user who created 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 attached to the 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 business glossary terms attached to the 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 ID of the asset.
public final AssetListingDetails listing()
public final String name()
The name of the asset.
public final String owningProjectId()
The ID of the project that owns 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 attached to the 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 ID of the asset type.
public final String typeRevision()
The revision of the asset type.
public GetAssetResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetAssetResponse.Builder,GetAssetResponse>toBuilder in class AwsResponsepublic static GetAssetResponse.Builder builder()
public static Class<? extends GetAssetResponse.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.