Interface AuthorizeDbSecurityGroupIngressResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<AuthorizeDbSecurityGroupIngressResponse.Builder,,AuthorizeDbSecurityGroupIngressResponse> RdsResponse.Builder,SdkBuilder<AuthorizeDbSecurityGroupIngressResponse.Builder,,AuthorizeDbSecurityGroupIngressResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
AuthorizeDbSecurityGroupIngressResponse
public static interface AuthorizeDbSecurityGroupIngressResponse.Builder
extends RdsResponse.Builder, SdkPojo, CopyableBuilder<AuthorizeDbSecurityGroupIngressResponse.Builder,AuthorizeDbSecurityGroupIngressResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondbSecurityGroup(Consumer<DBSecurityGroup.Builder> dbSecurityGroup) Sets the value of the DBSecurityGroup property for this object.dbSecurityGroup(DBSecurityGroup dbSecurityGroup) Sets the value of the DBSecurityGroup property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.rds.model.RdsResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
dbSecurityGroup
Sets the value of the DBSecurityGroup property for this object.- Parameters:
dbSecurityGroup- The new value for the DBSecurityGroup property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dbSecurityGroup
default AuthorizeDbSecurityGroupIngressResponse.Builder dbSecurityGroup(Consumer<DBSecurityGroup.Builder> dbSecurityGroup) Sets the value of the DBSecurityGroup property for this object. This is a convenience method that creates an instance of theDBSecurityGroup.Builderavoiding the need to create one manually viaDBSecurityGroup.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todbSecurityGroup(DBSecurityGroup).- Parameters:
dbSecurityGroup- a consumer that will call methods onDBSecurityGroup.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-