Class GetAnnotationStoreResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.omics.model.OmicsResponse
-
- software.amazon.awssdk.services.omics.model.GetAnnotationStoreResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetAnnotationStoreResponse.Builder,GetAnnotationStoreResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetAnnotationStoreResponse extends OmicsResponse implements ToCopyableBuilder<GetAnnotationStoreResponse.Builder,GetAnnotationStoreResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetAnnotationStoreResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetAnnotationStoreResponse.Builderbuilder()InstantcreationTime()When the store was created.Stringdescription()The store's description.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()booleanhasTags()For responses, this returns true if the service returned a value for the Tags property.Stringid()The store's ID.Stringname()The store's name.IntegernumVersions()An integer indicating how many versions of an annotation store exist.ReferenceItemreference()The store's genome reference.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GetAnnotationStoreResponse.Builder>serializableBuilderClass()SseConfigsseConfig()The store's server-side encryption (SSE) settings.StoreStatusstatus()The store's status.StringstatusAsString()The store's status.StringstatusMessage()A status message.StringstoreArn()The store's ARN.StoreFormatstoreFormat()The store's annotation file format.StringstoreFormatAsString()The store's annotation file format.StoreOptionsstoreOptions()The store's parsing options.LongstoreSizeBytes()The store's size in bytes.Map<String,String>tags()The store's tags.GetAnnotationStoreResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.InstantupdateTime()When the store was updated.-
Methods inherited from class software.amazon.awssdk.services.omics.model.OmicsResponse
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
-
id
public final String id()
The store's ID.
- Returns:
- The store's ID.
-
reference
public final ReferenceItem reference()
The store's genome reference.
- Returns:
- The store's genome reference.
-
status
public final StoreStatus status()
The store's status.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnStoreStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The store's status.
- See Also:
StoreStatus
-
statusAsString
public final String statusAsString()
The store's status.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnStoreStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The store's status.
- See Also:
StoreStatus
-
storeArn
public final String storeArn()
The store's ARN.
- Returns:
- The store's ARN.
-
name
public final String name()
The store's name.
- Returns:
- The store's name.
-
description
public final String description()
The store's description.
- Returns:
- The store's description.
-
sseConfig
public final SseConfig sseConfig()
The store's server-side encryption (SSE) settings.
- Returns:
- The store's server-side encryption (SSE) settings.
-
creationTime
public final Instant creationTime()
When the store was created.
- Returns:
- When the store was created.
-
updateTime
public final Instant updateTime()
When the store was updated.
- Returns:
- When the store was updated.
-
hasTags
public final boolean hasTags()
For responses, this returns true if the service returned a value for the Tags property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()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.
-
tags
public final Map<String,String> tags()
The store's tags.
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.- Returns:
- The store's tags.
-
storeOptions
public final StoreOptions storeOptions()
The store's parsing options.
- Returns:
- The store's parsing options.
-
storeFormat
public final StoreFormat storeFormat()
The store's annotation file format.
If the service returns an enum value that is not available in the current SDK version,
storeFormatwill returnStoreFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstoreFormatAsString().- Returns:
- The store's annotation file format.
- See Also:
StoreFormat
-
storeFormatAsString
public final String storeFormatAsString()
The store's annotation file format.
If the service returns an enum value that is not available in the current SDK version,
storeFormatwill returnStoreFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstoreFormatAsString().- Returns:
- The store's annotation file format.
- See Also:
StoreFormat
-
statusMessage
public final String statusMessage()
A status message.
- Returns:
- A status message.
-
storeSizeBytes
public final Long storeSizeBytes()
The store's size in bytes.
- Returns:
- The store's size in bytes.
-
numVersions
public final Integer numVersions()
An integer indicating how many versions of an annotation store exist.
- Returns:
- An integer indicating how many versions of an annotation store exist.
-
toBuilder
public GetAnnotationStoreResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetAnnotationStoreResponse.Builder,GetAnnotationStoreResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetAnnotationStoreResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetAnnotationStoreResponse.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
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-