public static interface CreateSubnetGroupResponse.Builder extends MemoryDbResponse.Builder, SdkPojo, CopyableBuilder<CreateSubnetGroupResponse.Builder,CreateSubnetGroupResponse>
| Modifier and Type | Method and Description |
|---|---|
default CreateSubnetGroupResponse.Builder |
subnetGroup(Consumer<SubnetGroup.Builder> subnetGroup)
The newly-created subnet group
|
CreateSubnetGroupResponse.Builder |
subnetGroup(SubnetGroup subnetGroup)
The newly-created subnet group
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateSubnetGroupResponse.Builder subnetGroup(SubnetGroup subnetGroup)
The newly-created subnet group
subnetGroup - The newly-created subnet groupdefault CreateSubnetGroupResponse.Builder subnetGroup(Consumer<SubnetGroup.Builder> subnetGroup)
The newly-created subnet group
This is a convenience method that creates an instance of theSubnetGroup.Builder avoiding the need to
create one manually via SubnetGroup.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to subnetGroup(SubnetGroup).
subnetGroup - a consumer that will call methods on SubnetGroup.BuildersubnetGroup(SubnetGroup)Copyright © 2023. All rights reserved.