public static interface UpdateSecurityGroupRuleDescriptionsEgressRequest.Builder extends EC2Request.Builder, CopyableBuilder<UpdateSecurityGroupRuleDescriptionsEgressRequest.Builder,UpdateSecurityGroupRuleDescriptionsEgressRequest>
build
requestOverrideConfig
copy
apply, build
UpdateSecurityGroupRuleDescriptionsEgressRequest.Builder groupId(String groupId)
The ID of the security group. You must specify either the security group ID or the security group name in the request. For security groups in a nondefault VPC, you must specify the security group ID.
groupId
- The ID of the security group. You must specify either the security group ID or the security group name
in the request. For security groups in a nondefault VPC, you must specify the security group ID.UpdateSecurityGroupRuleDescriptionsEgressRequest.Builder groupName(String groupName)
[Default VPC] The name of the security group. You must specify either the security group ID or the security group name in the request.
groupName
- [Default VPC] The name of the security group. You must specify either the security group ID or the
security group name in the request.UpdateSecurityGroupRuleDescriptionsEgressRequest.Builder ipPermissions(Collection<IpPermission> ipPermissions)
The IP permissions for the security group rule.
ipPermissions
- The IP permissions for the security group rule.UpdateSecurityGroupRuleDescriptionsEgressRequest.Builder ipPermissions(IpPermission... ipPermissions)
The IP permissions for the security group rule.
ipPermissions
- The IP permissions for the security group rule.UpdateSecurityGroupRuleDescriptionsEgressRequest.Builder ipPermissions(Consumer<IpPermission.Builder>... ipPermissions)
The IP permissions for the security group rule.
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 #ipPermissions(List)
.ipPermissions
- a consumer that will call methods on List.Builder
#ipPermissions(List)
UpdateSecurityGroupRuleDescriptionsEgressRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.UpdateSecurityGroupRuleDescriptionsEgressRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.