Class FirewallRuleGroup
- All Implemented Interfaces:
Serializable
,SdkPojo
,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.
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
arn()
The ARN (Amazon Resource Name) of the rule group.static FirewallRuleGroup.Builder
builder()
final String
The date and time that the rule group was created, in Unix time format and Coordinated Universal Time (UTC).final String
A unique string defined by you to identify the request.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final String
id()
The ID of the rule group.final String
The date and time that the rule group was last modified, in Unix time format and Coordinated Universal Time (UTC).final String
name()
The name of the rule group.final String
ownerId()
The Amazon Web Services account ID for the account that created the rule group.final Integer
The number of rules in the rule group.static Class
<? extends FirewallRuleGroup.Builder> final 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.final String
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.final FirewallRuleGroupStatus
status()
The status of the domain list.final String
The status of the domain list.final String
Additional information about the status of the rule group, if available.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
id
The ID of the rule group.
- Returns:
- The ID of the rule group.
-
arn
The ARN (Amazon Resource Name) of the rule group.
- Returns:
- The ARN (Amazon Resource Name) of the rule group.
-
name
The name of the rule group.
- Returns:
- The name of the rule group.
-
ruleCount
The number of rules in the rule group.
- Returns:
- The number of rules in the rule group.
-
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 returnFirewallRuleGroupStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- The status of the domain list.
- See Also:
-
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 returnFirewallRuleGroupStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- The status of the domain list.
- See Also:
-
statusMessage
Additional information about the status of the rule group, if available.
- Returns:
- Additional information about the status of the rule group, if available.
-
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.
- Returns:
- 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.
-
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.
- Returns:
- 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.
-
creationTime
The date and time that the rule group was created, in Unix time format and Coordinated Universal Time (UTC).
- Returns:
- The date and time that the rule group was created, in Unix time format and Coordinated Universal Time (UTC).
-
modificationTime
The date and time that the rule group was last modified, in Unix time format and Coordinated Universal Time (UTC).
- Returns:
- The date and time that the rule group was last modified, in Unix time format and Coordinated Universal Time (UTC).
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<FirewallRuleGroup.Builder,
FirewallRuleGroup> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-