@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FirewallRuleGroupMetadata extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
FirewallRuleGroupMetadata() |
Modifier and Type | Method and Description |
---|---|
FirewallRuleGroupMetadata |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN (Amazon Resource Name) of the rule group.
|
String |
getCreatorRequestId()
A unique string defined by you to identify the request.
|
String |
getId()
The ID of the rule group.
|
String |
getName()
The name of the rule group.
|
String |
getOwnerId()
The Amazon Web Services account ID for the account that created the rule group.
|
String |
getShareStatus()
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.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The ARN (Amazon Resource Name) of the rule group.
|
void |
setCreatorRequestId(String creatorRequestId)
A unique string defined by you to identify the request.
|
void |
setId(String id)
The ID of the rule group.
|
void |
setName(String name)
The name of the rule group.
|
void |
setOwnerId(String ownerId)
The Amazon Web Services account ID for the account that created the rule group.
|
void |
setShareStatus(String 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 |
toString()
Returns a string representation of this object.
|
FirewallRuleGroupMetadata |
withArn(String arn)
The ARN (Amazon Resource Name) of the rule group.
|
FirewallRuleGroupMetadata |
withCreatorRequestId(String creatorRequestId)
A unique string defined by you to identify the request.
|
FirewallRuleGroupMetadata |
withId(String id)
The ID of the rule group.
|
FirewallRuleGroupMetadata |
withName(String name)
The name of the rule group.
|
FirewallRuleGroupMetadata |
withOwnerId(String ownerId)
The Amazon Web Services account ID for the account that created the rule group.
|
FirewallRuleGroupMetadata |
withShareStatus(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.
|
FirewallRuleGroupMetadata |
withShareStatus(String 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.
|
public void setId(String id)
The ID of the rule group.
id
- The ID of the rule group.public String getId()
The ID of the rule group.
public FirewallRuleGroupMetadata withId(String id)
The ID of the rule group.
id
- The ID of the rule group.public void setArn(String arn)
The ARN (Amazon Resource Name) of the rule group.
arn
- The ARN (Amazon Resource Name) of the rule group.public String getArn()
The ARN (Amazon Resource Name) of the rule group.
public FirewallRuleGroupMetadata withArn(String arn)
The ARN (Amazon Resource Name) of the rule group.
arn
- The ARN (Amazon Resource Name) of the rule group.public void setName(String name)
The name of the rule group.
name
- The name of the rule group.public String getName()
The name of the rule group.
public FirewallRuleGroupMetadata withName(String name)
The name of the rule group.
name
- The name of the rule group.public void setOwnerId(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.
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 String getOwnerId()
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 FirewallRuleGroupMetadata withOwnerId(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.
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 void setCreatorRequestId(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.
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 String getCreatorRequestId()
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 FirewallRuleGroupMetadata withCreatorRequestId(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.
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 void setShareStatus(String 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).
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).ShareStatus
public String getShareStatus()
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).
ShareStatus
public FirewallRuleGroupMetadata withShareStatus(String 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).
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).ShareStatus
public FirewallRuleGroupMetadata withShareStatus(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).
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).ShareStatus
public String toString()
toString
in class Object
Object.toString()
public FirewallRuleGroupMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.