Class RdsDbInstance
- java.lang.Object
-
- software.amazon.awssdk.services.opsworks.model.RdsDbInstance
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RdsDbInstance.Builder,RdsDbInstance>
@Generated("software.amazon.awssdk:codegen") public final class RdsDbInstance extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RdsDbInstance.Builder,RdsDbInstance>
Describes an Amazon RDS instance.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRdsDbInstance.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringaddress()The instance's address.static RdsDbInstance.Builderbuilder()StringdbInstanceIdentifier()The DB instance identifier.StringdbPassword()AWS OpsWorks Stacks returns*****FILTERED*****instead of the actual value.StringdbUser()The master user name.Stringengine()The instance's database engine.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()BooleanmissingOnRds()Set totrueif AWS OpsWorks Stacks is unable to discover the Amazon RDS instance.StringrdsDbInstanceArn()The instance's ARN.Stringregion()The instance's AWS region.List<SdkField<?>>sdkFields()static Class<? extends RdsDbInstance.Builder>serializableBuilderClass()StringstackId()The ID of the stack with which the instance is registered.RdsDbInstance.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
-
rdsDbInstanceArn
public final String rdsDbInstanceArn()
The instance's ARN.
- Returns:
- The instance's ARN.
-
dbInstanceIdentifier
public final String dbInstanceIdentifier()
The DB instance identifier.
- Returns:
- The DB instance identifier.
-
dbUser
public final String dbUser()
The master user name.
- Returns:
- The master user name.
-
dbPassword
public final String dbPassword()
AWS OpsWorks Stacks returns
*****FILTERED*****instead of the actual value.- Returns:
- AWS OpsWorks Stacks returns
*****FILTERED*****instead of the actual value.
-
region
public final String region()
The instance's AWS region.
- Returns:
- The instance's AWS region.
-
address
public final String address()
The instance's address.
- Returns:
- The instance's address.
-
engine
public final String engine()
The instance's database engine.
- Returns:
- The instance's database engine.
-
stackId
public final String stackId()
The ID of the stack with which the instance is registered.
- Returns:
- The ID of the stack with which the instance is registered.
-
missingOnRds
public final Boolean missingOnRds()
Set to
trueif AWS OpsWorks Stacks is unable to discover the Amazon RDS instance. AWS OpsWorks Stacks attempts to discover the instance only once. If this value is set totrue, you must deregister the instance, and then register it again.- Returns:
- Set to
trueif AWS OpsWorks Stacks is unable to discover the Amazon RDS instance. AWS OpsWorks Stacks attempts to discover the instance only once. If this value is set totrue, you must deregister the instance, and then register it again.
-
toBuilder
public RdsDbInstance.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RdsDbInstance.Builder,RdsDbInstance>
-
builder
public static RdsDbInstance.Builder builder()
-
serializableBuilderClass
public static Class<? extends RdsDbInstance.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.
-
-