Interface DeleteSubnetGroupResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DeleteSubnetGroupResponse.Builder,DeleteSubnetGroupResponse>,MemoryDbResponse.Builder,SdkBuilder<DeleteSubnetGroupResponse.Builder,DeleteSubnetGroupResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DeleteSubnetGroupResponse
public static interface DeleteSubnetGroupResponse.Builder extends MemoryDbResponse.Builder, SdkPojo, CopyableBuilder<DeleteSubnetGroupResponse.Builder,DeleteSubnetGroupResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default DeleteSubnetGroupResponse.BuildersubnetGroup(Consumer<SubnetGroup.Builder> subnetGroup)The subnet group object that has been deleted.DeleteSubnetGroupResponse.BuildersubnetGroup(SubnetGroup subnetGroup)The subnet group object that has been deleted.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.memorydb.model.MemoryDbResponse.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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
subnetGroup
DeleteSubnetGroupResponse.Builder subnetGroup(SubnetGroup subnetGroup)
The subnet group object that has been deleted.
- Parameters:
subnetGroup- The subnet group object that has been deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subnetGroup
default DeleteSubnetGroupResponse.Builder subnetGroup(Consumer<SubnetGroup.Builder> subnetGroup)
The subnet group object that has been deleted.
This is a convenience method that creates an instance of theSubnetGroup.Builderavoiding the need to create one manually viaSubnetGroup.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosubnetGroup(SubnetGroup).- Parameters:
subnetGroup- a consumer that will call methods onSubnetGroup.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
subnetGroup(SubnetGroup)
-
-