Class CreateGraphResponse
- 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.CreateGraphResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateGraphResponse.Builder,CreateGraphResponse>
@Generated("software.amazon.awssdk:codegen") public final class CreateGraphResponse extends NeptuneGraphResponse implements ToCopyableBuilder<CreateGraphResponse.Builder,CreateGraphResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateGraphResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringarn()The ARN of the graph.static CreateGraphResponse.Builderbuilder()StringbuildNumber()The build number of the graph software.InstantcreateTime()The time when the graph was created.BooleandeletionProtection()A value that indicates whether the graph has deletion protection enabled.Stringendpoint()The graph endpoint.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The ID of the graph.StringkmsKeyIdentifier()Specifies the KMS key used to encrypt data in the new graph.Stringname()The graph name.IntegerprovisionedMemory()The provisioned memory-optimized Neptune Capacity Units (m-NCUs) to use for the graph.BooleanpublicConnectivity()Specifies whether or not the graph can be reachable over the internet.IntegerreplicaCount()The number of replicas in other AZs.List<SdkField<?>>sdkFields()static Class<? extends CreateGraphResponse.Builder>serializableBuilderClass()StringsourceSnapshotId()The ID of the source graph.GraphStatusstatus()The current status of the graph.StringstatusAsString()The current status of the graph.StringstatusReason()The reason the status was given.CreateGraphResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.VectorSearchConfigurationvectorSearchConfiguration()The vector-search configuration for the graph, which specifies the vector dimension to use in the vector index, if any.-
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 ID of the graph.
- Returns:
- The ID of the graph.
-
name
public final String name()
The graph name. For example:
my-graph-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 graph name. For example:
my-graph-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.
- Returns:
- The ARN of the graph.
-
status
public final GraphStatus status()
The current status of the graph.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnGraphStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the graph.
- See Also:
GraphStatus
-
statusAsString
public final String statusAsString()
The current status of the graph.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnGraphStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The current status of the graph.
- See Also:
GraphStatus
-
statusReason
public final String statusReason()
The reason the status was given.
- Returns:
- The reason the status was given.
-
createTime
public final Instant createTime()
The time when the graph was created.
- Returns:
- The time when the graph was created.
-
provisionedMemory
public final Integer provisionedMemory()
The provisioned memory-optimized Neptune Capacity Units (m-NCUs) to use for the graph. Min = 128
- Returns:
- The provisioned memory-optimized Neptune Capacity Units (m-NCUs) to use for the graph. Min = 128
-
endpoint
public final String endpoint()
The graph endpoint.
- Returns:
- The graph endpoint.
-
publicConnectivity
public final Boolean publicConnectivity()
Specifies whether or not the graph can be reachable over the internet. All access to graphs IAM authenticated.
- Returns:
- Specifies whether or not the graph can be reachable over the internet. All access to graphs IAM authenticated.
-
vectorSearchConfiguration
public final VectorSearchConfiguration vectorSearchConfiguration()
The vector-search configuration for the graph, which specifies the vector dimension to use in the vector index, if any.
- Returns:
- The vector-search configuration for the graph, which specifies the vector dimension to use in the vector index, if any.
-
replicaCount
public final Integer replicaCount()
The number of replicas in other AZs.
- Returns:
- The number of replicas in other AZs.
-
kmsKeyIdentifier
public final String kmsKeyIdentifier()
Specifies the KMS key used to encrypt data in the new graph.
- Returns:
- Specifies the KMS key used to encrypt data in the new graph.
-
sourceSnapshotId
public final String sourceSnapshotId()
The ID of the source graph.
- Returns:
- The ID of the source graph.
-
deletionProtection
public final Boolean deletionProtection()
A value that indicates whether the graph has deletion protection enabled. The graph can't be deleted when deletion protection is enabled.
- Returns:
- A value that indicates whether the graph has deletion protection enabled. The graph can't be deleted when deletion protection is enabled.
-
buildNumber
public final String buildNumber()
The build number of the graph software.
- Returns:
- The build number of the graph software.
-
toBuilder
public CreateGraphResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateGraphResponse.Builder,CreateGraphResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static CreateGraphResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateGraphResponse.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
-
-