public static interface AuthorizeSecurityGroupEgressRequest.Builder extends Ec2Request.Builder, CopyableBuilder<AuthorizeSecurityGroupEgressRequest.Builder,AuthorizeSecurityGroupEgressRequest>
build
overrideConfiguration
copy
applyMutation, build
AuthorizeSecurityGroupEgressRequest.Builder groupId(String groupId)
The ID of the security group.
groupId
- The ID of the security group.AuthorizeSecurityGroupEgressRequest.Builder ipPermissions(Collection<IpPermission> ipPermissions)
One or more sets of IP permissions. You can't specify a destination security group and a CIDR IP address range in the same set of permissions.
ipPermissions
- One or more sets of IP permissions. You can't specify a destination security group and a CIDR IP
address range in the same set of permissions.AuthorizeSecurityGroupEgressRequest.Builder ipPermissions(IpPermission... ipPermissions)
One or more sets of IP permissions. You can't specify a destination security group and a CIDR IP address range in the same set of permissions.
ipPermissions
- One or more sets of IP permissions. You can't specify a destination security group and a CIDR IP
address range in the same set of permissions.AuthorizeSecurityGroupEgressRequest.Builder ipPermissions(Consumer<IpPermission.Builder>... ipPermissions)
One or more sets of IP permissions. You can't specify a destination security group and a CIDR IP address range in the same set of permissions.
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)
AuthorizeSecurityGroupEgressRequest.Builder cidrIp(String cidrIp)
Not supported. Use a set of IP permissions to specify the CIDR.
cidrIp
- Not supported. Use a set of IP permissions to specify the CIDR.AuthorizeSecurityGroupEgressRequest.Builder fromPort(Integer fromPort)
Not supported. Use a set of IP permissions to specify the port.
fromPort
- Not supported. Use a set of IP permissions to specify the port.AuthorizeSecurityGroupEgressRequest.Builder ipProtocol(String ipProtocol)
Not supported. Use a set of IP permissions to specify the protocol name or number.
ipProtocol
- Not supported. Use a set of IP permissions to specify the protocol name or number.AuthorizeSecurityGroupEgressRequest.Builder toPort(Integer toPort)
Not supported. Use a set of IP permissions to specify the port.
toPort
- Not supported. Use a set of IP permissions to specify the port.AuthorizeSecurityGroupEgressRequest.Builder sourceSecurityGroupName(String sourceSecurityGroupName)
Not supported. Use a set of IP permissions to specify a destination security group.
sourceSecurityGroupName
- Not supported. Use a set of IP permissions to specify a destination security group.AuthorizeSecurityGroupEgressRequest.Builder sourceSecurityGroupOwnerId(String sourceSecurityGroupOwnerId)
Not supported. Use a set of IP permissions to specify a destination security group.
sourceSecurityGroupOwnerId
- Not supported. Use a set of IP permissions to specify a destination security group.AuthorizeSecurityGroupEgressRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.AuthorizeSecurityGroupEgressRequest.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.