Interface StopDbInstanceResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<StopDbInstanceResponse.Builder,StopDbInstanceResponse>,RdsResponse.Builder,SdkBuilder<StopDbInstanceResponse.Builder,StopDbInstanceResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- StopDbInstanceResponse
public static interface StopDbInstanceResponse.Builder extends RdsResponse.Builder, SdkPojo, CopyableBuilder<StopDbInstanceResponse.Builder,StopDbInstanceResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default StopDbInstanceResponse.BuilderdbInstance(Consumer<DBInstance.Builder> dbInstance)Sets the value of the DBInstance property for this object.StopDbInstanceResponse.BuilderdbInstance(DBInstance dbInstance)Sets the value of the DBInstance 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
-
dbInstance
StopDbInstanceResponse.Builder dbInstance(DBInstance dbInstance)
Sets the value of the DBInstance property for this object.- Parameters:
dbInstance- The new value for the DBInstance property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbInstance
default StopDbInstanceResponse.Builder dbInstance(Consumer<DBInstance.Builder> dbInstance)
Sets the value of the DBInstance property for this object. This is a convenience method that creates an instance of theDBInstance.Builderavoiding the need to create one manually viaDBInstance.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todbInstance(DBInstance).- Parameters:
dbInstance- a consumer that will call methods onDBInstance.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
dbInstance(DBInstance)
-
-