Class GetTableResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.s3tables.model.S3TablesResponse
-
- software.amazon.awssdk.services.s3tables.model.GetTableResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetTableResponse.Builder,GetTableResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetTableResponse extends S3TablesResponse implements ToCopyableBuilder<GetTableResponse.Builder,GetTableResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetTableResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetTableResponse.Builderbuilder()InstantcreatedAt()The date and time the table bucket was created at.StringcreatedBy()The ID of the account that created the table.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)OpenTableFormatformat()The format of the table.StringformatAsString()The format of the table.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()booleanhasNamespace()For responses, this returns true if the service returned a value for the Namespace property.StringmanagedByService()The service that manages the table.StringmetadataLocation()The metadata location of the table.InstantmodifiedAt()The date and time the table was last modified on.StringmodifiedBy()The ID of the account that last modified the table.Stringname()The name of the table.List<String>namespace()The namespace associated with the table.StringownerAccountId()The ID of the account that owns the table.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GetTableResponse.Builder>serializableBuilderClass()StringtableARN()The Amazon Resource Name (ARN) of the table.GetTableResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.TableTypetype()The type of the table.StringtypeAsString()The type of the table.StringversionToken()The version token of the table.StringwarehouseLocation()The warehouse location of the table.-
Methods inherited from class software.amazon.awssdk.services.s3tables.model.S3TablesResponse
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
-
name
public final String name()
The name of the table.
- Returns:
- The name of the table.
-
type
public final TableType type()
The type of the table.
If the service returns an enum value that is not available in the current SDK version,
typewill returnTableType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the table.
- See Also:
TableType
-
typeAsString
public final String typeAsString()
The type of the table.
If the service returns an enum value that is not available in the current SDK version,
typewill returnTableType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the table.
- See Also:
TableType
-
tableARN
public final String tableARN()
The Amazon Resource Name (ARN) of the table.
- Returns:
- The Amazon Resource Name (ARN) of the table.
-
hasNamespace
public final boolean hasNamespace()
For responses, this returns true if the service returned a value for the Namespace 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.
-
namespace
public final List<String> namespace()
The namespace associated with the table.
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
hasNamespace()method.- Returns:
- The namespace associated with the table.
-
versionToken
public final String versionToken()
The version token of the table.
- Returns:
- The version token of the table.
-
metadataLocation
public final String metadataLocation()
The metadata location of the table.
- Returns:
- The metadata location of the table.
-
warehouseLocation
public final String warehouseLocation()
The warehouse location of the table.
- Returns:
- The warehouse location of the table.
-
createdAt
public final Instant createdAt()
The date and time the table bucket was created at.
- Returns:
- The date and time the table bucket was created at.
-
createdBy
public final String createdBy()
The ID of the account that created the table.
- Returns:
- The ID of the account that created the table.
-
managedByService
public final String managedByService()
The service that manages the table.
- Returns:
- The service that manages the table.
-
modifiedAt
public final Instant modifiedAt()
The date and time the table was last modified on.
- Returns:
- The date and time the table was last modified on.
-
modifiedBy
public final String modifiedBy()
The ID of the account that last modified the table.
- Returns:
- The ID of the account that last modified the table.
-
ownerAccountId
public final String ownerAccountId()
The ID of the account that owns the table.
- Returns:
- The ID of the account that owns the table.
-
format
public final OpenTableFormat format()
The format of the table.
If the service returns an enum value that is not available in the current SDK version,
formatwill returnOpenTableFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromformatAsString().- Returns:
- The format of the table.
- See Also:
OpenTableFormat
-
formatAsString
public final String formatAsString()
The format of the table.
If the service returns an enum value that is not available in the current SDK version,
formatwill returnOpenTableFormat.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromformatAsString().- Returns:
- The format of the table.
- See Also:
OpenTableFormat
-
toBuilder
public GetTableResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetTableResponse.Builder,GetTableResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetTableResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetTableResponse.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
-
-