@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateIPSetRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateIPSetRequest() |
Modifier and Type | Method and Description |
---|---|
CreateIPSetRequest |
addTagsEntry(String key,
String value) |
CreateIPSetRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateIPSetRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getActivate()
A boolean value that indicates whether GuardDuty is to start using the uploaded IPSet.
|
String |
getClientToken()
The idempotency token for the create request.
|
String |
getDetectorId()
The unique ID of the detector of the GuardDuty account for which you want to create an IPSet.
|
String |
getFormat()
The format of the file that contains the IPSet.
|
String |
getLocation()
The URI of the file that contains the IPSet.
|
String |
getName()
The user friendly name to identify the IPSet.
|
Map<String,String> |
getTags()
The tags to be added to a new IP set resource.
|
int |
hashCode() |
Boolean |
isActivate()
A boolean value that indicates whether GuardDuty is to start using the uploaded IPSet.
|
void |
setActivate(Boolean activate)
A boolean value that indicates whether GuardDuty is to start using the uploaded IPSet.
|
void |
setClientToken(String clientToken)
The idempotency token for the create request.
|
void |
setDetectorId(String detectorId)
The unique ID of the detector of the GuardDuty account for which you want to create an IPSet.
|
void |
setFormat(String format)
The format of the file that contains the IPSet.
|
void |
setLocation(String location)
The URI of the file that contains the IPSet.
|
void |
setName(String name)
The user friendly name to identify the IPSet.
|
void |
setTags(Map<String,String> tags)
The tags to be added to a new IP set resource.
|
String |
toString()
Returns a string representation of this object.
|
CreateIPSetRequest |
withActivate(Boolean activate)
A boolean value that indicates whether GuardDuty is to start using the uploaded IPSet.
|
CreateIPSetRequest |
withClientToken(String clientToken)
The idempotency token for the create request.
|
CreateIPSetRequest |
withDetectorId(String detectorId)
The unique ID of the detector of the GuardDuty account for which you want to create an IPSet.
|
CreateIPSetRequest |
withFormat(IpSetFormat format)
The format of the file that contains the IPSet.
|
CreateIPSetRequest |
withFormat(String format)
The format of the file that contains the IPSet.
|
CreateIPSetRequest |
withLocation(String location)
The URI of the file that contains the IPSet.
|
CreateIPSetRequest |
withName(String name)
The user friendly name to identify the IPSet.
|
CreateIPSetRequest |
withTags(Map<String,String> tags)
The tags to be added to a new IP set resource.
|
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 setDetectorId(String detectorId)
The unique ID of the detector of the GuardDuty account for which you want to create an IPSet.
detectorId
- The unique ID of the detector of the GuardDuty account for which you want to create an IPSet.public String getDetectorId()
The unique ID of the detector of the GuardDuty account for which you want to create an IPSet.
public CreateIPSetRequest withDetectorId(String detectorId)
The unique ID of the detector of the GuardDuty account for which you want to create an IPSet.
detectorId
- The unique ID of the detector of the GuardDuty account for which you want to create an IPSet.public void setName(String name)
The user friendly name to identify the IPSet. This name is displayed in all findings that are triggered by activity that involves IP addresses included in this IPSet.
name
- The user friendly name to identify the IPSet. This name is displayed in all findings that are triggered by
activity that involves IP addresses included in this IPSet.public String getName()
The user friendly name to identify the IPSet. This name is displayed in all findings that are triggered by activity that involves IP addresses included in this IPSet.
public CreateIPSetRequest withName(String name)
The user friendly name to identify the IPSet. This name is displayed in all findings that are triggered by activity that involves IP addresses included in this IPSet.
name
- The user friendly name to identify the IPSet. This name is displayed in all findings that are triggered by
activity that involves IP addresses included in this IPSet.public void setFormat(String format)
The format of the file that contains the IPSet.
format
- The format of the file that contains the IPSet.IpSetFormat
public String getFormat()
The format of the file that contains the IPSet.
IpSetFormat
public CreateIPSetRequest withFormat(String format)
The format of the file that contains the IPSet.
format
- The format of the file that contains the IPSet.IpSetFormat
public CreateIPSetRequest withFormat(IpSetFormat format)
The format of the file that contains the IPSet.
format
- The format of the file that contains the IPSet.IpSetFormat
public void setLocation(String location)
The URI of the file that contains the IPSet. For example (https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key)
location
- The URI of the file that contains the IPSet. For example
(https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key)public String getLocation()
The URI of the file that contains the IPSet. For example (https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key)
public CreateIPSetRequest withLocation(String location)
The URI of the file that contains the IPSet. For example (https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key)
location
- The URI of the file that contains the IPSet. For example
(https://s3.us-west-2.amazonaws.com/my-bucket/my-object-key)public void setActivate(Boolean activate)
A boolean value that indicates whether GuardDuty is to start using the uploaded IPSet.
activate
- A boolean value that indicates whether GuardDuty is to start using the uploaded IPSet.public Boolean getActivate()
A boolean value that indicates whether GuardDuty is to start using the uploaded IPSet.
public CreateIPSetRequest withActivate(Boolean activate)
A boolean value that indicates whether GuardDuty is to start using the uploaded IPSet.
activate
- A boolean value that indicates whether GuardDuty is to start using the uploaded IPSet.public Boolean isActivate()
A boolean value that indicates whether GuardDuty is to start using the uploaded IPSet.
public void setClientToken(String clientToken)
The idempotency token for the create request.
clientToken
- The idempotency token for the create request.public String getClientToken()
The idempotency token for the create request.
public CreateIPSetRequest withClientToken(String clientToken)
The idempotency token for the create request.
clientToken
- The idempotency token for the create request.public Map<String,String> getTags()
The tags to be added to a new IP set resource.
public void setTags(Map<String,String> tags)
The tags to be added to a new IP set resource.
tags
- The tags to be added to a new IP set resource.public CreateIPSetRequest withTags(Map<String,String> tags)
The tags to be added to a new IP set resource.
tags
- The tags to be added to a new IP set resource.public CreateIPSetRequest addTagsEntry(String key, String value)
public CreateIPSetRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateIPSetRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.