Class GetListingResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.datazone.model.DataZoneResponse
-
- software.amazon.awssdk.services.datazone.model.GetListingResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetListingResponse.Builder,GetListingResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetListingResponse extends DataZoneResponse implements ToCopyableBuilder<GetListingResponse.Builder,GetListingResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetListingResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetListingResponse.Builderbuilder()InstantcreatedAt()StringcreatedBy()The Amazon DataZone user who created the listing.Stringdescription()StringdomainId()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()ListingItemitem()StringlistingRevision()Stringname()List<SdkField<?>>sdkFields()static Class<? extends GetListingResponse.Builder>serializableBuilderClass()ListingStatusstatus()StringstatusAsString()GetListingResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.InstantupdatedAt()The timestamp of when the listing was updated.StringupdatedBy()The Amazon DataZone user who updated the listing.-
Methods inherited from class software.amazon.awssdk.services.datazone.model.DataZoneResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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
-
createdAt
public final Instant createdAt()
- Returns:
-
createdBy
public final String createdBy()
The Amazon DataZone user who created the listing.
- Returns:
- The Amazon DataZone user who created the listing.
-
description
public final String description()
- Returns:
-
domainId
public final String domainId()
- Returns:
-
id
public final String id()
- Returns:
-
item
public final ListingItem item()
- Returns:
-
listingRevision
public final String listingRevision()
- Returns:
-
name
public final String name()
- Returns:
-
status
public final ListingStatus status()
If the service returns an enum value that is not available in the current SDK version,
statuswill returnListingStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- See Also:
ListingStatus
-
statusAsString
public final String statusAsString()
If the service returns an enum value that is not available in the current SDK version,
statuswill returnListingStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- See Also:
ListingStatus
-
updatedAt
public final Instant updatedAt()
The timestamp of when the listing was updated.
- Returns:
- The timestamp of when the listing was updated.
-
updatedBy
public final String updatedBy()
The Amazon DataZone user who updated the listing.
- Returns:
- The Amazon DataZone user who updated the listing.
-
toBuilder
public GetListingResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetListingResponse.Builder,GetListingResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetListingResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetListingResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
-