Class DbInstanceForClusterSummary
- java.lang.Object
-
- software.amazon.awssdk.services.timestreaminfluxdb.model.DbInstanceForClusterSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DbInstanceForClusterSummary.Builder,DbInstanceForClusterSummary>
@Generated("software.amazon.awssdk:codegen") public final class DbInstanceForClusterSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DbInstanceForClusterSummary.Builder,DbInstanceForClusterSummary>
Contains a summary of a DB instance belonging to a DB cluster.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDbInstanceForClusterSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegerallocatedStorage()The amount of storage allocated for your DB storage type in GiB (gibibytes).Stringarn()The Amazon Resource Name (ARN) of the DB instance.static DbInstanceForClusterSummary.Builderbuilder()DbInstanceTypedbInstanceType()The Timestream for InfluxDB instance type to run InfluxDB on.StringdbInstanceTypeAsString()The Timestream for InfluxDB instance type to run InfluxDB on.DbStorageTypedbStorageType()The storage type for your DB instance.StringdbStorageTypeAsString()The storage type for your DB instance.DeploymentTypedeploymentType()Specifies the deployment type if applicable.StringdeploymentTypeAsString()Specifies the deployment type if applicable.Stringendpoint()The endpoint used to connect to InfluxDB.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringid()The service-generated unique identifier of the DB instance.InstanceModeinstanceMode()Specifies the DB instance's role in the cluster.StringinstanceModeAsString()Specifies the DB instance's role in the cluster.Stringname()A service-generated name for the DB instance based on the customer-supplied name for the DB cluster.NetworkTypenetworkType()Specifies whether the network type of the Timestream for InfluxDB instance is IPv4, which can communicate over IPv4 protocol only, or DUAL, which can communicate over both IPv4 and IPv6 protocols.StringnetworkTypeAsString()Specifies whether the network type of the Timestream for InfluxDB instance is IPv4, which can communicate over IPv4 protocol only, or DUAL, which can communicate over both IPv4 and IPv6 protocols.Integerport()The port number on which InfluxDB accepts connections.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends DbInstanceForClusterSummary.Builder>serializableBuilderClass()Statusstatus()The status of the DB instance.StringstatusAsString()The status of the DB instance.DbInstanceForClusterSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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 service-generated unique identifier of the DB instance.
- Returns:
- The service-generated unique identifier of the DB instance.
-
name
public final String name()
A service-generated name for the DB instance based on the customer-supplied name for the DB cluster.
- Returns:
- A service-generated name for the DB instance based on the customer-supplied name for the DB cluster.
-
arn
public final String arn()
The Amazon Resource Name (ARN) of the DB instance.
- Returns:
- The Amazon Resource Name (ARN) of the DB instance.
-
status
public final Status status()
The status of the DB instance.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the DB instance.
- See Also:
Status
-
statusAsString
public final String statusAsString()
The status of the DB instance.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the DB instance.
- See Also:
Status
-
endpoint
public final String endpoint()
The endpoint used to connect to InfluxDB. The default InfluxDB port is 8086.
- Returns:
- The endpoint used to connect to InfluxDB. The default InfluxDB port is 8086.
-
port
public final Integer port()
The port number on which InfluxDB accepts connections.
- Returns:
- The port number on which InfluxDB accepts connections.
-
networkType
public final NetworkType networkType()
Specifies whether the network type of the Timestream for InfluxDB instance is IPv4, which can communicate over IPv4 protocol only, or DUAL, which can communicate over both IPv4 and IPv6 protocols.
If the service returns an enum value that is not available in the current SDK version,
networkTypewill returnNetworkType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnetworkTypeAsString().- Returns:
- Specifies whether the network type of the Timestream for InfluxDB instance is IPv4, which can communicate over IPv4 protocol only, or DUAL, which can communicate over both IPv4 and IPv6 protocols.
- See Also:
NetworkType
-
networkTypeAsString
public final String networkTypeAsString()
Specifies whether the network type of the Timestream for InfluxDB instance is IPv4, which can communicate over IPv4 protocol only, or DUAL, which can communicate over both IPv4 and IPv6 protocols.
If the service returns an enum value that is not available in the current SDK version,
networkTypewill returnNetworkType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnetworkTypeAsString().- Returns:
- Specifies whether the network type of the Timestream for InfluxDB instance is IPv4, which can communicate over IPv4 protocol only, or DUAL, which can communicate over both IPv4 and IPv6 protocols.
- See Also:
NetworkType
-
dbInstanceType
public final DbInstanceType dbInstanceType()
The Timestream for InfluxDB instance type to run InfluxDB on.
If the service returns an enum value that is not available in the current SDK version,
dbInstanceTypewill returnDbInstanceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdbInstanceTypeAsString().- Returns:
- The Timestream for InfluxDB instance type to run InfluxDB on.
- See Also:
DbInstanceType
-
dbInstanceTypeAsString
public final String dbInstanceTypeAsString()
The Timestream for InfluxDB instance type to run InfluxDB on.
If the service returns an enum value that is not available in the current SDK version,
dbInstanceTypewill returnDbInstanceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdbInstanceTypeAsString().- Returns:
- The Timestream for InfluxDB instance type to run InfluxDB on.
- See Also:
DbInstanceType
-
dbStorageType
public final DbStorageType dbStorageType()
The storage type for your DB instance.
If the service returns an enum value that is not available in the current SDK version,
dbStorageTypewill returnDbStorageType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdbStorageTypeAsString().- Returns:
- The storage type for your DB instance.
- See Also:
DbStorageType
-
dbStorageTypeAsString
public final String dbStorageTypeAsString()
The storage type for your DB instance.
If the service returns an enum value that is not available in the current SDK version,
dbStorageTypewill returnDbStorageType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdbStorageTypeAsString().- Returns:
- The storage type for your DB instance.
- See Also:
DbStorageType
-
allocatedStorage
public final Integer allocatedStorage()
The amount of storage allocated for your DB storage type in GiB (gibibytes).
- Returns:
- The amount of storage allocated for your DB storage type in GiB (gibibytes).
-
deploymentType
public final DeploymentType deploymentType()
Specifies the deployment type if applicable.
If the service returns an enum value that is not available in the current SDK version,
deploymentTypewill returnDeploymentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeploymentTypeAsString().- Returns:
- Specifies the deployment type if applicable.
- See Also:
DeploymentType
-
deploymentTypeAsString
public final String deploymentTypeAsString()
Specifies the deployment type if applicable.
If the service returns an enum value that is not available in the current SDK version,
deploymentTypewill returnDeploymentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdeploymentTypeAsString().- Returns:
- Specifies the deployment type if applicable.
- See Also:
DeploymentType
-
instanceMode
public final InstanceMode instanceMode()
Specifies the DB instance's role in the cluster.
If the service returns an enum value that is not available in the current SDK version,
instanceModewill returnInstanceMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominstanceModeAsString().- Returns:
- Specifies the DB instance's role in the cluster.
- See Also:
InstanceMode
-
instanceModeAsString
public final String instanceModeAsString()
Specifies the DB instance's role in the cluster.
If the service returns an enum value that is not available in the current SDK version,
instanceModewill returnInstanceMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominstanceModeAsString().- Returns:
- Specifies the DB instance's role in the cluster.
- See Also:
InstanceMode
-
toBuilder
public DbInstanceForClusterSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DbInstanceForClusterSummary.Builder,DbInstanceForClusterSummary>
-
builder
public static DbInstanceForClusterSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends DbInstanceForClusterSummary.Builder> serializableBuilderClass()
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-