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