Class SecurityGroupRuleDescription
java.lang.Object
software.amazon.awssdk.services.ec2.model.SecurityGroupRuleDescription
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SecurityGroupRuleDescription.Builder,SecurityGroupRuleDescription>
@Generated("software.amazon.awssdk:codegen")
public final class SecurityGroupRuleDescription
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<SecurityGroupRuleDescription.Builder,SecurityGroupRuleDescription>
Describes the description of a security group rule.
You can use this when you want to update the security group rule description for either an inbound or outbound rule.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final StringThe description of the security group rule.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe ID of the security group rule.static Class<? extends SecurityGroupRuleDescription.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
securityGroupRuleId
The ID of the security group rule.
- Returns:
- The ID of the security group rule.
-
description
The description of the security group rule.
- Returns:
- The description of the security group rule.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<SecurityGroupRuleDescription.Builder,SecurityGroupRuleDescription>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-