Class ReferencedSecurityGroup
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.ReferencedSecurityGroup
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ReferencedSecurityGroup.Builder,ReferencedSecurityGroup>
@Generated("software.amazon.awssdk:codegen") public final class ReferencedSecurityGroup extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ReferencedSecurityGroup.Builder,ReferencedSecurityGroup>
Describes the security group that is referenced in the security group rule.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ReferencedSecurityGroup.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReferencedSecurityGroup.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.int
hashCode()
String
peeringStatus()
The status of a VPC peering connection, if applicable.List<SdkField<?>>
sdkFields()
static Class<? extends ReferencedSecurityGroup.Builder>
serializableBuilderClass()
ReferencedSecurityGroup.Builder
toBuilder()
String
toString()
Returns a string representation of this object.String
userId()
The Amazon Web Services account ID.String
vpcId()
The ID of the VPC.String
vpcPeeringConnectionId()
The ID of the VPC peering connection.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
groupId
public final String groupId()
The ID of the security group.
- Returns:
- The ID of the security group.
-
peeringStatus
public final String peeringStatus()
The status of a VPC peering connection, if applicable.
- Returns:
- The status of a VPC peering connection, if applicable.
-
userId
public final String userId()
The Amazon Web Services account ID.
- Returns:
- The Amazon Web Services account ID.
-
vpcId
public final String vpcId()
The ID of the VPC.
- Returns:
- The ID of the VPC.
-
vpcPeeringConnectionId
public final String vpcPeeringConnectionId()
The ID of the VPC peering connection.
- Returns:
- The ID of the VPC peering connection.
-
toBuilder
public ReferencedSecurityGroup.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<ReferencedSecurityGroup.Builder,ReferencedSecurityGroup>
-
builder
public static ReferencedSecurityGroup.Builder builder()
-
serializableBuilderClass
public static Class<? extends ReferencedSecurityGroup.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String 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.
-
-