@Generated(value="software.amazon.awssdk:codegen") public final class FirewallRuleGroupMetadata extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FirewallRuleGroupMetadata.Builder,FirewallRuleGroupMetadata>
Minimal high-level information for a firewall rule group. The action ListFirewallRuleGroups returns an array of these objects.
To retrieve full information for a firewall rule group, call GetFirewallRuleGroup and ListFirewallRules.
| Modifier and Type | Class and Description |
|---|---|
static interface |
FirewallRuleGroupMetadata.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The ARN (Amazon Resource Name) of the rule group.
|
static FirewallRuleGroupMetadata.Builder |
builder() |
String |
creatorRequestId()
A unique string defined by you to identify the request.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The ID of the rule group.
|
String |
name()
The name of the rule group.
|
String |
ownerId()
The AWS account ID for the account that created the rule group.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends FirewallRuleGroupMetadata.Builder> |
serializableBuilderClass() |
ShareStatus |
shareStatus()
Whether the rule group is shared with other AWS accounts, or was shared with the current account by another AWS
account.
|
String |
shareStatusAsString()
Whether the rule group is shared with other AWS accounts, or was shared with the current account by another AWS
account.
|
FirewallRuleGroupMetadata.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String id()
The ID of the rule group.
public final String arn()
The ARN (Amazon Resource Name) of the rule group.
public final String name()
The name of the rule group.
public final String ownerId()
The AWS account ID for the account that created the rule group. When a rule group is shared with your account, this is the account that has shared the rule group with you.
public final String creatorRequestId()
A unique string defined by you to identify the request. This allows you to retry failed requests without the risk of executing the operation twice. This can be any unique string, for example, a timestamp.
public final ShareStatus shareStatus()
Whether the rule group is shared with other AWS accounts, or was shared with the current account by another AWS account. Sharing is configured through AWS Resource Access Manager (AWS RAM).
If the service returns an enum value that is not available in the current SDK version, shareStatus will
return ShareStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
shareStatusAsString().
ShareStatuspublic final String shareStatusAsString()
Whether the rule group is shared with other AWS accounts, or was shared with the current account by another AWS account. Sharing is configured through AWS Resource Access Manager (AWS RAM).
If the service returns an enum value that is not available in the current SDK version, shareStatus will
return ShareStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
shareStatusAsString().
ShareStatuspublic FirewallRuleGroupMetadata.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<FirewallRuleGroupMetadata.Builder,FirewallRuleGroupMetadata>public static FirewallRuleGroupMetadata.Builder builder()
public static Class<? extends FirewallRuleGroupMetadata.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.