Class Branch
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Branch.Builder,Branch>
Contains the details of a branch of an Aurora PostgreSQL DB cluster.
This data type is used as a response element in the CreateBranch, DeleteBranch, and
DescribeBranches actions.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe Amazon Resource Name (ARN) of the branch.final InstantThe time when the branch was created, in Universal Coordinated Time (UTC).final InstantThe time when the branch expires, in Universal Coordinated Time (UTC).final StringThe name of the branch.final StringThe Amazon Web Services Region-unique, immutable identifier of the branch.static Branch.Builderbuilder()final StringThe name of the DB cluster parameter group of the branch.final StringThe name of the DB subnet group of the branch.final Stringendpoint()The DNS address of the branch.final Stringengine()The database engine of the branch.final StringThe version of the database engine of the branch.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final booleanFor responses, this returns true if the service returned a value for the TagList property.final booleanFor responses, this returns true if the service returned a value for the VpcSecurityGroups property.final BooleanIndicates whether you can use the RDS Data API through the HTTP endpoint of the branch.final BooleanIndicates whether mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is enabled for the branch.final BooleanIndicates whether the branch has internet-based connectivity enabled through an internet access gateway.final Integerport()The port that the branch listens on.final StringrootArn()The Amazon Resource Name (ARN) of the root DB cluster of the branch.The capacity settings of the branch.static Class<? extends Branch.Builder> final StringThe Amazon Resource Name (ARN) of the source of the branch: the root DB cluster, or the branch that the branch was created from.final BranchStatusstatus()The status of the branch.final StringThe status of the branch.tagList()The tags assigned to the branch.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final LongThe time to live (TTL) of the branch, in seconds after the branch was created.final List<VpcSecurityGroupMembership> The VPC security groups of the branch.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
branchArn
The Amazon Resource Name (ARN) of the branch.
- Returns:
- The Amazon Resource Name (ARN) of the branch.
-
branchCreateTime
The time when the branch was created, in Universal Coordinated Time (UTC).
- Returns:
- The time when the branch was created, in Universal Coordinated Time (UTC).
-
branchExpiryTime
The time when the branch expires, in Universal Coordinated Time (UTC). Amazon RDS deletes the branch at this time.
- Returns:
- The time when the branch expires, in Universal Coordinated Time (UTC). Amazon RDS deletes the branch at this time.
-
branchName
-
branchResourceId
The Amazon Web Services Region-unique, immutable identifier of the branch.
- Returns:
- The Amazon Web Services Region-unique, immutable identifier of the branch.
-
dbClusterParameterGroup
The name of the DB cluster parameter group of the branch.
- Returns:
- The name of the DB cluster parameter group of the branch.
-
dbSubnetGroup
The name of the DB subnet group of the branch.
- Returns:
- The name of the DB subnet group of the branch.
-
endpoint
The DNS address of the branch. Connect to the branch at this address.
- Returns:
- The DNS address of the branch. Connect to the branch at this address.
-
engine
The database engine of the branch.
- Returns:
- The database engine of the branch.
-
engineVersion
The version of the database engine of the branch.
- Returns:
- The version of the database engine of the branch.
-
httpEndpointEnabled
Indicates whether you can use the RDS Data API through the HTTP endpoint of the branch.
- Returns:
- Indicates whether you can use the RDS Data API through the HTTP endpoint of the branch.
-
iamDatabaseAuthenticationEnabled
Indicates whether mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is enabled for the branch.
- Returns:
- Indicates whether mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is enabled for the branch.
-
internetAccessGatewayEnabled
Indicates whether the branch has internet-based connectivity enabled through an internet access gateway. With an internet access gateway, you connect to the branch over the internet without a VPC.
- Returns:
- Indicates whether the branch has internet-based connectivity enabled through an internet access gateway. With an internet access gateway, you connect to the branch over the internet without a VPC.
-
port
The port that the branch listens on.
- Returns:
- The port that the branch listens on.
-
rootArn
The Amazon Resource Name (ARN) of the root DB cluster of the branch.
- Returns:
- The Amazon Resource Name (ARN) of the root DB cluster of the branch.
-
scalingConfiguration
The capacity settings of the branch.
- Returns:
- The capacity settings of the branch.
-
sourceArn
The Amazon Resource Name (ARN) of the source of the branch: the root DB cluster, or the branch that the branch was created from.
- Returns:
- The Amazon Resource Name (ARN) of the source of the branch: the root DB cluster, or the branch that the branch was created from.
-
status
The status of the branch.
The branch status can be one of the following values:
- creating
-
The branch is being created.
- available
-
The branch is ready for use.
- deleting
-
The branch is being deleted.
- failed
-
The branch couldn't be created.
- insufficient-capacity
-
The branch couldn't be created because there wasn't enough capacity. Delete the branch and try again later.
- incompatible-network
-
The branch couldn't be created because of the network configuration of the source DB cluster.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnBranchStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the branch.
The branch status can be one of the following values:
- creating
-
The branch is being created.
- available
-
The branch is ready for use.
- deleting
-
The branch is being deleted.
- failed
-
The branch couldn't be created.
- insufficient-capacity
-
The branch couldn't be created because there wasn't enough capacity. Delete the branch and try again later.
- incompatible-network
-
The branch couldn't be created because of the network configuration of the source DB cluster.
- See Also:
-
statusAsString
The status of the branch.
The branch status can be one of the following values:
- creating
-
The branch is being created.
- available
-
The branch is ready for use.
- deleting
-
The branch is being deleted.
- failed
-
The branch couldn't be created.
- insufficient-capacity
-
The branch couldn't be created because there wasn't enough capacity. Delete the branch and try again later.
- incompatible-network
-
The branch couldn't be created because of the network configuration of the source DB cluster.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnBranchStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the branch.
The branch status can be one of the following values:
- creating
-
The branch is being created.
- available
-
The branch is ready for use.
- deleting
-
The branch is being deleted.
- failed
-
The branch couldn't be created.
- insufficient-capacity
-
The branch couldn't be created because there wasn't enough capacity. Delete the branch and try again later.
- incompatible-network
-
The branch couldn't be created because of the network configuration of the source DB cluster.
- See Also:
-
hasTagList
public final boolean hasTagList()For responses, this returns true if the service returned a value for the TagList property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
tagList
The tags assigned to the branch.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasTagList()method.- Returns:
- The tags assigned to the branch.
-
ttlSeconds
The time to live (TTL) of the branch, in seconds after the branch was created.
- Returns:
- The time to live (TTL) of the branch, in seconds after the branch was created.
-
hasVpcSecurityGroups
public final boolean hasVpcSecurityGroups()For responses, this returns true if the service returned a value for the VpcSecurityGroups property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
vpcSecurityGroups
The VPC security groups of the branch.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasVpcSecurityGroups()method.- Returns:
- The VPC security groups of the branch.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<Branch.Builder,Branch> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-