@Generated(value="software.amazon.awssdk:codegen") public final class UpdateSecurityGroupRuleDescriptionsEgressRequest extends Ec2Request implements ToCopyableBuilder<UpdateSecurityGroupRuleDescriptionsEgressRequest.Builder,UpdateSecurityGroupRuleDescriptionsEgressRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateSecurityGroupRuleDescriptionsEgressRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdateSecurityGroupRuleDescriptionsEgressRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
String |
groupId()
The ID of the security group.
|
String |
groupName()
[Default VPC] The name of the security group.
|
int |
hashCode() |
boolean |
hasIpPermissions()
Returns true if the IpPermissions property was specified by the sender (it may be empty), or false if the sender
did not specify the value (it will be empty).
|
List<IpPermission> |
ipPermissions()
The IP permissions for the security group rule.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateSecurityGroupRuleDescriptionsEgressRequest.Builder> |
serializableBuilderClass() |
UpdateSecurityGroupRuleDescriptionsEgressRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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.
public 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.
public boolean hasIpPermissions()
public List<IpPermission> ipPermissions()
The IP permissions for the security group rule.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasIpPermissions() to see if a value was sent in this field.
public UpdateSecurityGroupRuleDescriptionsEgressRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateSecurityGroupRuleDescriptionsEgressRequest.Builder,UpdateSecurityGroupRuleDescriptionsEgressRequest>toBuilder in class Ec2Requestpublic static UpdateSecurityGroupRuleDescriptionsEgressRequest.Builder builder()
public static Class<? extends UpdateSecurityGroupRuleDescriptionsEgressRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2020. All rights reserved.