Class RestoreFromSnapshotResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.redshiftserverless.model.RedshiftServerlessResponse
-
- software.amazon.awssdk.services.redshiftserverless.model.RestoreFromSnapshotResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<RestoreFromSnapshotResponse.Builder,RestoreFromSnapshotResponse>
@Generated("software.amazon.awssdk:codegen") public final class RestoreFromSnapshotResponse extends RedshiftServerlessResponse implements ToCopyableBuilder<RestoreFromSnapshotResponse.Builder,RestoreFromSnapshotResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRestoreFromSnapshotResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RestoreFromSnapshotResponse.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Namespacenamespace()Returns the value of the Namespace property for this object.StringownerAccount()The owner Amazon Web Services; account of the snapshot that was restored.List<SdkField<?>>sdkFields()static Class<? extends RestoreFromSnapshotResponse.Builder>serializableBuilderClass()StringsnapshotName()The name of the snapshot used to restore the namespace.RestoreFromSnapshotResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.redshiftserverless.model.RedshiftServerlessResponse
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
-
namespace
public final Namespace namespace()
Returns the value of the Namespace property for this object.- Returns:
- The value of the Namespace property for this object.
-
ownerAccount
public final String ownerAccount()
The owner Amazon Web Services; account of the snapshot that was restored.
- Returns:
- The owner Amazon Web Services; account of the snapshot that was restored.
-
snapshotName
public final String snapshotName()
The name of the snapshot used to restore the namespace.
- Returns:
- The name of the snapshot used to restore the namespace.
-
toBuilder
public RestoreFromSnapshotResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RestoreFromSnapshotResponse.Builder,RestoreFromSnapshotResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static RestoreFromSnapshotResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends RestoreFromSnapshotResponse.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
-
-