Interface RevokeDbSecurityGroupIngressResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<RevokeDbSecurityGroupIngressResponse.Builder,,RevokeDbSecurityGroupIngressResponse> RdsResponse.Builder,SdkBuilder<RevokeDbSecurityGroupIngressResponse.Builder,,RevokeDbSecurityGroupIngressResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
RevokeDbSecurityGroupIngressResponse
public static interface RevokeDbSecurityGroupIngressResponse.Builder
extends RdsResponse.Builder, SdkPojo, CopyableBuilder<RevokeDbSecurityGroupIngressResponse.Builder,RevokeDbSecurityGroupIngressResponse>
-
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 RevokeDbSecurityGroupIngressResponse.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:
-