@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() |
boolean |
hasStaleIpPermissions()
Returns true if the StaleIpPermissions 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 |
hasStaleIpPermissionsEgress()
Returns true if the StaleIpPermissionsEgress 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<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 boolean hasStaleIpPermissions()
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.
You can use hasStaleIpPermissions() to see if a value was sent in this field.
public boolean hasStaleIpPermissionsEgress()
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.
You can use hasStaleIpPermissionsEgress() to see if a value was sent in this field.
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 © 2020. All rights reserved.