public static interface CreateIpGroupRequest.Builder extends WorkSpacesRequest.Builder, SdkPojo, CopyableBuilder<CreateIpGroupRequest.Builder,CreateIpGroupRequest>
Modifier and Type | Method and Description |
---|---|
CreateIpGroupRequest.Builder |
groupDesc(String groupDesc)
The description of the group.
|
CreateIpGroupRequest.Builder |
groupName(String groupName)
The name of the group.
|
CreateIpGroupRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateIpGroupRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateIpGroupRequest.Builder |
userRules(Collection<IpRuleItem> userRules)
The rules to add to the group.
|
CreateIpGroupRequest.Builder |
userRules(Consumer<IpRuleItem.Builder>... userRules)
The rules to add to the group.
|
CreateIpGroupRequest.Builder |
userRules(IpRuleItem... userRules)
The rules to add to the group.
|
build
overrideConfiguration
copy
applyMutation, build
CreateIpGroupRequest.Builder groupName(String groupName)
The name of the group.
groupName
- The name of the group.CreateIpGroupRequest.Builder groupDesc(String groupDesc)
The description of the group.
groupDesc
- The description of the group.CreateIpGroupRequest.Builder userRules(Collection<IpRuleItem> userRules)
The rules to add to the group.
userRules
- The rules to add to the group.CreateIpGroupRequest.Builder userRules(IpRuleItem... userRules)
The rules to add to the group.
userRules
- The rules to add to the group.CreateIpGroupRequest.Builder userRules(Consumer<IpRuleItem.Builder>... userRules)
The rules to add to the group.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #userRules(List)
.userRules
- a consumer that will call methods on List.Builder
#userRules(List)
CreateIpGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateIpGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.