Interface CopyDbParameterGroupRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CopyDbParameterGroupRequest.Builder,,CopyDbParameterGroupRequest> NeptuneRequest.Builder,SdkBuilder<CopyDbParameterGroupRequest.Builder,,CopyDbParameterGroupRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CopyDbParameterGroupRequest
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.sourceDBParameterGroupIdentifier(String sourceDBParameterGroupIdentifier) The identifier or ARN for the source DB parameter group.tags(Collection<Tag> tags) The tags to be assigned to the copied DB parameter group.tags(Consumer<Tag.Builder>... tags) The tags to be assigned to the copied DB parameter group.The tags to be assigned to the copied DB parameter group.targetDBParameterGroupDescription(String targetDBParameterGroupDescription) A description for the copied DB parameter group.targetDBParameterGroupIdentifier(String targetDBParameterGroupIdentifier) The identifier for the copied DB parameter group.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.neptune.model.NeptuneRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
sourceDBParameterGroupIdentifier
CopyDbParameterGroupRequest.Builder sourceDBParameterGroupIdentifier(String sourceDBParameterGroupIdentifier) The identifier or ARN for the source DB parameter group. For information about creating an ARN, see Constructing an Amazon Resource Name (ARN).
Constraints:
-
Must specify a valid DB parameter group.
-
Must specify a valid DB parameter group identifier, for example
my-db-param-group, or a valid ARN.
- Parameters:
sourceDBParameterGroupIdentifier- The identifier or ARN for the source DB parameter group. For information about creating an ARN, see Constructing an Amazon Resource Name (ARN).Constraints:
-
Must specify a valid DB parameter group.
-
Must specify a valid DB parameter group identifier, for example
my-db-param-group, or a valid ARN.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
targetDBParameterGroupIdentifier
CopyDbParameterGroupRequest.Builder targetDBParameterGroupIdentifier(String targetDBParameterGroupIdentifier) The identifier for the copied DB parameter group.
Constraints:
-
Cannot be null, empty, or blank.
-
Must contain from 1 to 255 letters, numbers, or hyphens.
-
First character must be a letter.
-
Cannot end with a hyphen or contain two consecutive hyphens.
Example:
my-db-parameter-group- Parameters:
targetDBParameterGroupIdentifier- The identifier for the copied DB parameter group.Constraints:
-
Cannot be null, empty, or blank.
-
Must contain from 1 to 255 letters, numbers, or hyphens.
-
First character must be a letter.
-
Cannot end with a hyphen or contain two consecutive hyphens.
Example:
my-db-parameter-group-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
targetDBParameterGroupDescription
CopyDbParameterGroupRequest.Builder targetDBParameterGroupDescription(String targetDBParameterGroupDescription) A description for the copied DB parameter group.
- Parameters:
targetDBParameterGroupDescription- A description for the copied DB parameter group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to be assigned to the copied DB parameter group.
- Parameters:
tags- The tags to be assigned to the copied DB parameter group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to be assigned to the copied DB parameter group.
- Parameters:
tags- The tags to be assigned to the copied DB parameter group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to be assigned to the copied DB parameter group.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- 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:
-
overrideConfiguration
CopyDbParameterGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CopyDbParameterGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-