Class GetRunCacheResponse
- 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.GetRunCacheResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetRunCacheResponse.Builder,GetRunCacheResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetRunCacheResponse extends OmicsResponse implements ToCopyableBuilder<GetRunCacheResponse.Builder,GetRunCacheResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetRunCacheResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()Unique resource identifier for the run cache.static GetRunCacheResponse.Builderbuilder()CacheBehaviorcacheBehavior()The default cache behavior for runs using this cache.StringcacheBehaviorAsString()The default cache behavior for runs using this cache.StringcacheBucketOwnerId()The identifier of the bucket owner.StringcacheS3Uri()The S3 URI where the cache data is stored.InstantcreationTime()Creation time of the run cache (an ISO 8601 formatted string).Stringdescription()The run cache 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 run cache ID.Stringname()The run cache name.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GetRunCacheResponse.Builder>serializableBuilderClass()RunCacheStatusstatus()The run cache status.StringstatusAsString()The run cache status.Map<String,String>tags()The tags associated with the run cache.GetRunCacheResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
arn
public final String arn()
Unique resource identifier for the run cache.
- Returns:
- Unique resource identifier for the run cache.
-
cacheBehavior
public final CacheBehavior cacheBehavior()
The default cache behavior for runs using this cache.
If the service returns an enum value that is not available in the current SDK version,
cacheBehaviorwill returnCacheBehavior.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcacheBehaviorAsString().- Returns:
- The default cache behavior for runs using this cache.
- See Also:
CacheBehavior
-
cacheBehaviorAsString
public final String cacheBehaviorAsString()
The default cache behavior for runs using this cache.
If the service returns an enum value that is not available in the current SDK version,
cacheBehaviorwill returnCacheBehavior.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcacheBehaviorAsString().- Returns:
- The default cache behavior for runs using this cache.
- See Also:
CacheBehavior
-
cacheBucketOwnerId
public final String cacheBucketOwnerId()
The identifier of the bucket owner.
- Returns:
- The identifier of the bucket owner.
-
cacheS3Uri
public final String cacheS3Uri()
The S3 URI where the cache data is stored.
- Returns:
- The S3 URI where the cache data is stored.
-
creationTime
public final Instant creationTime()
Creation time of the run cache (an ISO 8601 formatted string).
- Returns:
- Creation time of the run cache (an ISO 8601 formatted string).
-
description
public final String description()
The run cache description.
- Returns:
- The run cache description.
-
id
public final String id()
The run cache ID.
- Returns:
- The run cache ID.
-
name
public final String name()
The run cache name.
- Returns:
- The run cache name.
-
status
public final RunCacheStatus status()
The run cache status.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnRunCacheStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The run cache status.
- See Also:
RunCacheStatus
-
statusAsString
public final String statusAsString()
The run cache status.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnRunCacheStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The run cache status.
- See Also:
RunCacheStatus
-
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 tags associated with the run cache.
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 tags associated with the run cache.
-
toBuilder
public GetRunCacheResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetRunCacheResponse.Builder,GetRunCacheResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetRunCacheResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetRunCacheResponse.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
-
-