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
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringarn()The ARN (Amazon Resource Name) of the rule group.static FirewallRuleGroup.Builderbuilder()final StringThe date and time that the rule group was created, in Unix time format and Coordinated Universal Time (UTC).final StringA unique string defined by you to identify the request.final booleanfinal booleanequalsBySdkFields(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 inthashCode()final Stringid()The ID of the rule group.final StringThe date and time that the rule group was last modified, in Unix time format and Coordinated Universal Time (UTC).final Stringname()The name of the rule group.final StringownerId()The Amazon Web Services account ID for the account that created the rule group.final IntegerThe number of rules in the rule group.static Class<? extends FirewallRuleGroup.Builder> final ShareStatusWhether 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 StringWhether 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 FirewallRuleGroupStatusstatus()The status of the domain list.final StringThe status of the domain list.final StringAdditional 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 StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
id
-
arn
The ARN (Amazon Resource Name) of the rule group.
- Returns:
- The ARN (Amazon Resource Name) of the rule group.
-
name
-
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,
statuswill 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,
statuswill 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:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<FirewallRuleGroup.Builder,FirewallRuleGroup> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin 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
-
getValueForField
-
sdkFields
-