Interface GetRelationalDatabaseMasterUserPasswordRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<GetRelationalDatabaseMasterUserPasswordRequest.Builder,
,GetRelationalDatabaseMasterUserPasswordRequest> LightsailRequest.Builder
,SdkBuilder<GetRelationalDatabaseMasterUserPasswordRequest.Builder,
,GetRelationalDatabaseMasterUserPasswordRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
GetRelationalDatabaseMasterUserPasswordRequest
-
Method Summary
Modifier and TypeMethodDescriptionoverrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.passwordVersion
(String passwordVersion) The password version to return.passwordVersion
(RelationalDatabasePasswordVersion passwordVersion) The password version to return.relationalDatabaseName
(String relationalDatabaseName) The name of your database for which to get the master user password.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lightsail.model.LightsailRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
relationalDatabaseName
GetRelationalDatabaseMasterUserPasswordRequest.Builder relationalDatabaseName(String relationalDatabaseName) The name of your database for which to get the master user password.
- Parameters:
relationalDatabaseName
- The name of your database for which to get the master user password.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
passwordVersion
The password version to return.
Specifying
CURRENT
orPREVIOUS
returns the current or previous passwords respectively. SpecifyingPENDING
returns the newest version of the password that will rotate toCURRENT
. After thePENDING
password rotates toCURRENT
, thePENDING
password is no longer available.Default:
CURRENT
- Parameters:
passwordVersion
- The password version to return.Specifying
CURRENT
orPREVIOUS
returns the current or previous passwords respectively. SpecifyingPENDING
returns the newest version of the password that will rotate toCURRENT
. After thePENDING
password rotates toCURRENT
, thePENDING
password is no longer available.Default:
CURRENT
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
passwordVersion
GetRelationalDatabaseMasterUserPasswordRequest.Builder passwordVersion(RelationalDatabasePasswordVersion passwordVersion) The password version to return.
Specifying
CURRENT
orPREVIOUS
returns the current or previous passwords respectively. SpecifyingPENDING
returns the newest version of the password that will rotate toCURRENT
. After thePENDING
password rotates toCURRENT
, thePENDING
password is no longer available.Default:
CURRENT
- Parameters:
passwordVersion
- The password version to return.Specifying
CURRENT
orPREVIOUS
returns the current or previous passwords respectively. SpecifyingPENDING
returns the newest version of the password that will rotate toCURRENT
. After thePENDING
password rotates toCURRENT
, thePENDING
password is no longer available.Default:
CURRENT
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
GetRelationalDatabaseMasterUserPasswordRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetRelationalDatabaseMasterUserPasswordRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-