@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) |
<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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
vpcId()
The ID of the VPC for the security group.
|
copy
public 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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<StaleSecurityGroup.Builder,StaleSecurityGroup>
public static StaleSecurityGroup.Builder builder()
public static Class<? extends StaleSecurityGroup.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.