Interface CreateDbShardGroupResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateDbShardGroupResponse.Builder,CreateDbShardGroupResponse>
,RdsResponse.Builder
,SdkBuilder<CreateDbShardGroupResponse.Builder,CreateDbShardGroupResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- CreateDbShardGroupResponse
public static interface CreateDbShardGroupResponse.Builder extends RdsResponse.Builder, SdkPojo, CopyableBuilder<CreateDbShardGroupResponse.Builder,CreateDbShardGroupResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateDbShardGroupResponse.Builder
computeRedundancy(Integer computeRedundancy)
Specifies whether to create standby DB shard groups for the DB shard group.CreateDbShardGroupResponse.Builder
dbClusterIdentifier(String dbClusterIdentifier)
The name of the primary DB cluster for the DB shard group.CreateDbShardGroupResponse.Builder
dbShardGroupArn(String dbShardGroupArn)
The Amazon Resource Name (ARN) for the DB shard group.CreateDbShardGroupResponse.Builder
dbShardGroupIdentifier(String dbShardGroupIdentifier)
The name of the DB shard group.CreateDbShardGroupResponse.Builder
dbShardGroupResourceId(String dbShardGroupResourceId)
The Amazon Web Services Region-unique, immutable identifier for the DB shard group.CreateDbShardGroupResponse.Builder
endpoint(String endpoint)
The connection endpoint for the DB shard group.CreateDbShardGroupResponse.Builder
maxACU(Double maxACU)
The maximum capacity of the DB shard group in Aurora capacity units (ACUs).CreateDbShardGroupResponse.Builder
minACU(Double minACU)
The minimum capacity of the DB shard group in Aurora capacity units (ACUs).CreateDbShardGroupResponse.Builder
publiclyAccessible(Boolean publiclyAccessible)
Indicates whether the DB shard group is publicly accessible.CreateDbShardGroupResponse.Builder
status(String status)
The status of the DB shard group.CreateDbShardGroupResponse.Builder
tagList(Collection<Tag> tagList)
Sets the value of the TagList property for this object.CreateDbShardGroupResponse.Builder
tagList(Consumer<Tag.Builder>... tagList)
Sets the value of the TagList property for this object.CreateDbShardGroupResponse.Builder
tagList(Tag... tagList)
Sets the value of the TagList property for this object.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.rds.model.RdsResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
dbShardGroupResourceId
CreateDbShardGroupResponse.Builder dbShardGroupResourceId(String dbShardGroupResourceId)
The Amazon Web Services Region-unique, immutable identifier for the DB shard group.
- Parameters:
dbShardGroupResourceId
- The Amazon Web Services Region-unique, immutable identifier for the DB shard group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbShardGroupIdentifier
CreateDbShardGroupResponse.Builder dbShardGroupIdentifier(String dbShardGroupIdentifier)
The name of the DB shard group.
- Parameters:
dbShardGroupIdentifier
- The name of the DB shard group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbClusterIdentifier
CreateDbShardGroupResponse.Builder dbClusterIdentifier(String dbClusterIdentifier)
The name of the primary DB cluster for the DB shard group.
- Parameters:
dbClusterIdentifier
- The name of the primary DB cluster for the DB shard group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxACU
CreateDbShardGroupResponse.Builder maxACU(Double maxACU)
The maximum capacity of the DB shard group in Aurora capacity units (ACUs).
- Parameters:
maxACU
- The maximum capacity of the DB shard group in Aurora capacity units (ACUs).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
minACU
CreateDbShardGroupResponse.Builder minACU(Double minACU)
The minimum capacity of the DB shard group in Aurora capacity units (ACUs).
- Parameters:
minACU
- The minimum capacity of the DB shard group in Aurora capacity units (ACUs).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
computeRedundancy
CreateDbShardGroupResponse.Builder computeRedundancy(Integer computeRedundancy)
Specifies whether to create standby DB shard groups for the DB shard group. Valid values are the following:
-
0 - Creates a DB shard group without a standby DB shard group. This is the default value.
-
1 - Creates a DB shard group with a standby DB shard group in a different Availability Zone (AZ).
-
2 - Creates a DB shard group with two standby DB shard groups in two different AZs.
- Parameters:
computeRedundancy
- Specifies whether to create standby DB shard groups for the DB shard group. Valid values are the following:-
0 - Creates a DB shard group without a standby DB shard group. This is the default value.
-
1 - Creates a DB shard group with a standby DB shard group in a different Availability Zone (AZ).
-
2 - Creates a DB shard group with two standby DB shard groups in two different AZs.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
status
CreateDbShardGroupResponse.Builder status(String status)
The status of the DB shard group.
- Parameters:
status
- The status of the DB shard group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
publiclyAccessible
CreateDbShardGroupResponse.Builder publiclyAccessible(Boolean publiclyAccessible)
Indicates whether the DB shard group is publicly accessible.
When the DB shard group is publicly accessible, its Domain Name System (DNS) endpoint resolves to the private IP address from within the DB shard group's virtual private cloud (VPC). It resolves to the public IP address from outside of the DB shard group's VPC. Access to the DB shard group is ultimately controlled by the security group it uses. That public access isn't permitted if the security group assigned to the DB shard group doesn't permit it.
When the DB shard group isn't publicly accessible, it is an internal DB shard group with a DNS name that resolves to a private IP address.
For more information, see CreateDBShardGroup.
This setting is only for Aurora Limitless Database.
- Parameters:
publiclyAccessible
- Indicates whether the DB shard group is publicly accessible.When the DB shard group is publicly accessible, its Domain Name System (DNS) endpoint resolves to the private IP address from within the DB shard group's virtual private cloud (VPC). It resolves to the public IP address from outside of the DB shard group's VPC. Access to the DB shard group is ultimately controlled by the security group it uses. That public access isn't permitted if the security group assigned to the DB shard group doesn't permit it.
When the DB shard group isn't publicly accessible, it is an internal DB shard group with a DNS name that resolves to a private IP address.
For more information, see CreateDBShardGroup.
This setting is only for Aurora Limitless Database.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoint
CreateDbShardGroupResponse.Builder endpoint(String endpoint)
The connection endpoint for the DB shard group.
- Parameters:
endpoint
- The connection endpoint for the DB shard group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbShardGroupArn
CreateDbShardGroupResponse.Builder dbShardGroupArn(String dbShardGroupArn)
The Amazon Resource Name (ARN) for the DB shard group.
- Parameters:
dbShardGroupArn
- The Amazon Resource Name (ARN) for the DB shard group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagList
CreateDbShardGroupResponse.Builder tagList(Collection<Tag> tagList)
Sets the value of the TagList property for this object.- Parameters:
tagList
- The new value for the TagList property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagList
CreateDbShardGroupResponse.Builder tagList(Tag... tagList)
Sets the value of the TagList property for this object.- Parameters:
tagList
- The new value for the TagList property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagList
CreateDbShardGroupResponse.Builder tagList(Consumer<Tag.Builder>... tagList)
Sets the value of the TagList property for this object. This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#tagList(List
.) - Parameters:
tagList
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tagList(java.util.Collection
)
-
-