Class GetGraphSnapshotResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.neptunegraph.model.NeptuneGraphResponse
-
- software.amazon.awssdk.services.neptunegraph.model.GetGraphSnapshotResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetGraphSnapshotResponse.Builder,GetGraphSnapshotResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetGraphSnapshotResponse extends NeptuneGraphResponse implements ToCopyableBuilder<GetGraphSnapshotResponse.Builder,GetGraphSnapshotResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetGraphSnapshotResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The ARN of the graph snapshot.static GetGraphSnapshotResponse.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The unique identifier of the graph snapshot.StringkmsKeyIdentifier()The ID of the KMS key used to encrypt and decrypt the snapshot.Stringname()The snapshot name.List<SdkField<?>>sdkFields()static Class<? extends GetGraphSnapshotResponse.Builder>serializableBuilderClass()InstantsnapshotCreateTime()The time when the snapshot was created.StringsourceGraphId()The graph identifier for the graph for which a snapshot is to be created.SnapshotStatusstatus()The status of the graph snapshot.StringstatusAsString()The status of the graph snapshot.GetGraphSnapshotResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.neptunegraph.model.NeptuneGraphResponse
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 unique identifier of the graph snapshot.
- Returns:
- The unique identifier of the graph snapshot.
-
name
public final String name()
The snapshot name. For example:
my-snapshot-1.The name must contain from 1 to 63 letters, numbers, or hyphens, and its first character must be a letter. It cannot end with a hyphen or contain two consecutive hyphens.
- Returns:
- The snapshot name. For example:
my-snapshot-1.The name must contain from 1 to 63 letters, numbers, or hyphens, and its first character must be a letter. It cannot end with a hyphen or contain two consecutive hyphens.
-
arn
public final String arn()
The ARN of the graph snapshot.
- Returns:
- The ARN of the graph snapshot.
-
sourceGraphId
public final String sourceGraphId()
The graph identifier for the graph for which a snapshot is to be created.
- Returns:
- The graph identifier for the graph for which a snapshot is to be created.
-
snapshotCreateTime
public final Instant snapshotCreateTime()
The time when the snapshot was created.
- Returns:
- The time when the snapshot was created.
-
status
public final SnapshotStatus status()
The status of the graph snapshot.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnSnapshotStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the graph snapshot.
- See Also:
SnapshotStatus
-
statusAsString
public final String statusAsString()
The status of the graph snapshot.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnSnapshotStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the graph snapshot.
- See Also:
SnapshotStatus
-
kmsKeyIdentifier
public final String kmsKeyIdentifier()
The ID of the KMS key used to encrypt and decrypt the snapshot.
- Returns:
- The ID of the KMS key used to encrypt and decrypt the snapshot.
-
toBuilder
public GetGraphSnapshotResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetGraphSnapshotResponse.Builder,GetGraphSnapshotResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetGraphSnapshotResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetGraphSnapshotResponse.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
-
-