@Generated(value="software.amazon.awssdk:codegen") public final class FirewallRuleGroup extends Object implements SdkPojo, Serializable, ToCopyableBuilder<FirewallRuleGroup.Builder,FirewallRuleGroup>
High-level information for a firewall rule group. A firewall rule group is a collection of rules that DNS Firewall uses to filter DNS network traffic for a VPC. To retrieve the rules for the rule group, call ListFirewallRules.
| Modifier and Type | Class and Description |
|---|---|
static interface |
FirewallRuleGroup.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The ARN (Amazon Resource Name) of the rule group.
|
static FirewallRuleGroup.Builder |
builder() |
String |
creationTime()
The date and time that the rule group was created, in Unix time format and Coordinated Universal Time (UTC).
|
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 |
modificationTime()
The date and time that the rule group was last modified, in Unix time format and Coordinated Universal Time
(UTC).
|
String |
name()
The name of the rule group.
|
String |
ownerId()
The Amazon Web Services account ID for the account that created the rule group.
|
Integer |
ruleCount()
The number of rules in the rule group.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends FirewallRuleGroup.Builder> |
serializableBuilderClass() |
ShareStatus |
shareStatus()
Whether the rule group is shared with other Amazon Web Services accounts, or was shared with the current account
by another Amazon Web Services account.
|
String |
shareStatusAsString()
Whether the rule group is shared with other Amazon Web Services accounts, or was shared with the current account
by another Amazon Web Services account.
|
FirewallRuleGroupStatus |
status()
The status of the domain list.
|
String |
statusAsString()
The status of the domain list.
|
String |
statusMessage()
Additional information about the status of the rule group, if available.
|
FirewallRuleGroup.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 Integer ruleCount()
The number of rules in the rule group.
public final FirewallRuleGroupStatus status()
The status of the domain list.
If the service returns an enum value that is not available in the current SDK version, status will
return FirewallRuleGroupStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
FirewallRuleGroupStatuspublic final String statusAsString()
The status of the domain list.
If the service returns an enum value that is not available in the current SDK version, status will
return FirewallRuleGroupStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from statusAsString().
FirewallRuleGroupStatuspublic final String statusMessage()
Additional information about the status of the rule group, if available.
public final String ownerId()
The Amazon Web Services 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 running 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 Amazon Web Services accounts, or was shared with the current account by another Amazon Web Services account. Sharing is configured through Resource Access Manager (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 Amazon Web Services accounts, or was shared with the current account by another Amazon Web Services account. Sharing is configured through Resource Access Manager (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 creationTime()
The date and time that the rule group was created, in Unix time format and Coordinated Universal Time (UTC).
public final String modificationTime()
The date and time that the rule group was last modified, in Unix time format and Coordinated Universal Time (UTC).
public FirewallRuleGroup.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<FirewallRuleGroup.Builder,FirewallRuleGroup>public static FirewallRuleGroup.Builder builder()
public static Class<? extends FirewallRuleGroup.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.