@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 |
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 |
getDetectorId()
The unique ID of the detector that you want to update.
|
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.
|
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 |
setDetectorId(String detectorId)
The unique ID of the detector that you want to update.
|
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateIPSetRequest |
withActivate(Boolean activate)
A boolean value that indicates whether GuardDuty is to start using the uploaded IPSet.
|
CreateIPSetRequest |
withDetectorId(String detectorId)
The unique ID of the detector that you want to update.
|
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.
|
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 setActivate(Boolean activate)
activate
- A boolean value that indicates whether GuardDuty is to start using the uploaded IPSet.public Boolean getActivate()
public CreateIPSetRequest withActivate(Boolean activate)
activate
- A boolean value that indicates whether GuardDuty is to start using the uploaded IPSet.public Boolean isActivate()
public void setDetectorId(String detectorId)
detectorId
- The unique ID of the detector that you want to update.public String getDetectorId()
public CreateIPSetRequest withDetectorId(String detectorId)
detectorId
- The unique ID of the detector that you want to update.public void setFormat(String format)
format
- The format of the file that contains the IPSet.IpSetFormat
public String getFormat()
IpSetFormat
public CreateIPSetRequest withFormat(String format)
format
- The format of the file that contains the IPSet.IpSetFormat
public CreateIPSetRequest withFormat(IpSetFormat format)
format
- The format of the file that contains the IPSet.IpSetFormat
public void setLocation(String location)
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()
public CreateIPSetRequest withLocation(String location)
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 setName(String name)
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()
public CreateIPSetRequest withName(String name)
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 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.