public static interface CreateSubnetGroupResponse.Builder extends DaxResponse.Builder, CopyableBuilder<CreateSubnetGroupResponse.Builder,CreateSubnetGroupResponse>
Modifier and Type | Method and Description |
---|---|
default CreateSubnetGroupResponse.Builder |
subnetGroup(Consumer<SubnetGroup.Builder> subnetGroup)
Represents the output of a CreateSubnetGroup operation.
|
CreateSubnetGroupResponse.Builder |
subnetGroup(SubnetGroup subnetGroup)
Represents the output of a CreateSubnetGroup operation.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
CreateSubnetGroupResponse.Builder subnetGroup(SubnetGroup subnetGroup)
Represents the output of a CreateSubnetGroup operation.
subnetGroup
- Represents the output of a CreateSubnetGroup operation.default CreateSubnetGroupResponse.Builder subnetGroup(Consumer<SubnetGroup.Builder> subnetGroup)
Represents the output of a CreateSubnetGroup operation.
This is a convenience 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.Builder
subnetGroup(SubnetGroup)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.