@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).
|
boolean |
hasSecurityGroupRuleDescriptions()
Returns true if the SecurityGroupRuleDescriptions 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() |
List<SecurityGroupRuleDescription> |
securityGroupRuleDescriptions()
The description for the egress security group rules.
|
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 final 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 final 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 final boolean hasIpPermissions()
public final List<IpPermission> ipPermissions()
The IP permissions for the security group rule. You must specify either the IP permissions or the description.
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 final boolean hasSecurityGroupRuleDescriptions()
public final List<SecurityGroupRuleDescription> securityGroupRuleDescriptions()
The description for the egress security group rules. You must specify either the description or the IP permissions.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasSecurityGroupRuleDescriptions() 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 final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.