@Generated(value="software.amazon.awssdk:codegen") public final class StaleSecurityGroup extends Object implements SdkPojo, Serializable, ToCopyableBuilder<StaleSecurityGroup.Builder,StaleSecurityGroup>
Describes a stale security group (a security group that contains stale rules).
| Modifier and Type | Class and Description |
|---|---|
static interface |
StaleSecurityGroup.Builder |
| Modifier and Type | Method and Description |
|---|---|
static StaleSecurityGroup.Builder |
builder() |
String |
description()
The description of the security group.
|
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()
The name of the security group.
|
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends StaleSecurityGroup.Builder> |
serializableBuilderClass() |
List<StaleIpPermission> |
staleIpPermissions()
Information about the stale inbound rules in the security group.
|
List<StaleIpPermission> |
staleIpPermissionsEgress()
Information about the stale outbound rules in the security group.
|
StaleSecurityGroup.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
vpcId()
The ID of the VPC for the security group.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String description()
The description of the security group.
public String groupId()
The ID of the security group.
public String groupName()
The name of the security group.
public List<StaleIpPermission> staleIpPermissions()
Information about the stale inbound rules in the security group.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public List<StaleIpPermission> staleIpPermissionsEgress()
Information about the stale outbound rules in the security group.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public String vpcId()
The ID of the VPC for the security group.
public StaleSecurityGroup.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<StaleSecurityGroup.Builder,StaleSecurityGroup>public static StaleSecurityGroup.Builder builder()
public static Class<? extends StaleSecurityGroup.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.