public static interface UpdateSecurityGroupRuleDescriptionsIngressRequest.Builder extends EC2Request.Builder, CopyableBuilder<UpdateSecurityGroupRuleDescriptionsIngressRequest.Builder,UpdateSecurityGroupRuleDescriptionsIngressRequest>
build
requestOverrideConfig
copy
apply, build
UpdateSecurityGroupRuleDescriptionsIngressRequest.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.UpdateSecurityGroupRuleDescriptionsIngressRequest.Builder groupName(String groupName)
[EC2-Classic, 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
- [EC2-Classic, default VPC] The name of the security group. You must specify either the security group
ID or the security group name in the request.UpdateSecurityGroupRuleDescriptionsIngressRequest.Builder ipPermissions(Collection<IpPermission> ipPermissions)
The IP permissions for the security group rule.
ipPermissions
- The IP permissions for the security group rule.UpdateSecurityGroupRuleDescriptionsIngressRequest.Builder ipPermissions(IpPermission... ipPermissions)
The IP permissions for the security group rule.
ipPermissions
- The IP permissions for the security group rule.UpdateSecurityGroupRuleDescriptionsIngressRequest.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)
UpdateSecurityGroupRuleDescriptionsIngressRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.UpdateSecurityGroupRuleDescriptionsIngressRequest.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.