@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateFirewallRuleGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateFirewallRuleGroupRequest() |
Modifier and Type | Method and Description |
---|---|
CreateFirewallRuleGroupRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCreatorRequestId()
A unique string defined by you to identify the request.
|
String |
getName()
A name that lets you identify the rule group, to manage and use it.
|
List<Tag> |
getTags()
A list of the tag keys and values that you want to associate with the rule group.
|
int |
hashCode() |
void |
setCreatorRequestId(String creatorRequestId)
A unique string defined by you to identify the request.
|
void |
setName(String name)
A name that lets you identify the rule group, to manage and use it.
|
void |
setTags(Collection<Tag> tags)
A list of the tag keys and values that you want to associate with the rule group.
|
String |
toString()
Returns a string representation of this object.
|
CreateFirewallRuleGroupRequest |
withCreatorRequestId(String creatorRequestId)
A unique string defined by you to identify the request.
|
CreateFirewallRuleGroupRequest |
withName(String name)
A name that lets you identify the rule group, to manage and use it.
|
CreateFirewallRuleGroupRequest |
withTags(Collection<Tag> tags)
A list of the tag keys and values that you want to associate with the rule group.
|
CreateFirewallRuleGroupRequest |
withTags(Tag... tags)
A list of the tag keys and values that you want to associate with the rule group.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
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 CreateFirewallRuleGroupRequest 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 setName(String name)
A name that lets you identify the rule group, to manage and use it.
name
- A name that lets you identify the rule group, to manage and use it.public String getName()
A name that lets you identify the rule group, to manage and use it.
public CreateFirewallRuleGroupRequest withName(String name)
A name that lets you identify the rule group, to manage and use it.
name
- A name that lets you identify the rule group, to manage and use it.public List<Tag> getTags()
A list of the tag keys and values that you want to associate with the rule group.
public void setTags(Collection<Tag> tags)
A list of the tag keys and values that you want to associate with the rule group.
tags
- A list of the tag keys and values that you want to associate with the rule group.public CreateFirewallRuleGroupRequest withTags(Tag... tags)
A list of the tag keys and values that you want to associate with the rule group.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- A list of the tag keys and values that you want to associate with the rule group.public CreateFirewallRuleGroupRequest withTags(Collection<Tag> tags)
A list of the tag keys and values that you want to associate with the rule group.
tags
- A list of the tag keys and values that you want to associate with the rule group.public String toString()
toString
in class Object
Object.toString()
public CreateFirewallRuleGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()