@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateSecurityProfileRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateSecurityProfileRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateSecurityProfileRequest |
addAlertTargetsEntry(String key,
AlertTarget value) |
CreateSecurityProfileRequest |
clearAlertTargetsEntries()
Removes all the entries added into AlertTargets.
|
CreateSecurityProfileRequest |
clone() |
boolean |
equals(Object obj) |
Map<String,AlertTarget> |
getAlertTargets()
Specifies the destinations to which alerts are sent.
|
List<Behavior> |
getBehaviors()
Specifies the behaviors that, when violated by a device (thing), cause an alert.
|
String |
getSecurityProfileDescription()
A description of the security profile.
|
String |
getSecurityProfileName()
The name you are giving to the security profile.
|
int |
hashCode() |
void |
setAlertTargets(Map<String,AlertTarget> alertTargets)
Specifies the destinations to which alerts are sent.
|
void |
setBehaviors(Collection<Behavior> behaviors)
Specifies the behaviors that, when violated by a device (thing), cause an alert.
|
void |
setSecurityProfileDescription(String securityProfileDescription)
A description of the security profile.
|
void |
setSecurityProfileName(String securityProfileName)
The name you are giving to the security profile.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateSecurityProfileRequest |
withAlertTargets(Map<String,AlertTarget> alertTargets)
Specifies the destinations to which alerts are sent.
|
CreateSecurityProfileRequest |
withBehaviors(Behavior... behaviors)
Specifies the behaviors that, when violated by a device (thing), cause an alert.
|
CreateSecurityProfileRequest |
withBehaviors(Collection<Behavior> behaviors)
Specifies the behaviors that, when violated by a device (thing), cause an alert.
|
CreateSecurityProfileRequest |
withSecurityProfileDescription(String securityProfileDescription)
A description of the security profile.
|
CreateSecurityProfileRequest |
withSecurityProfileName(String securityProfileName)
The name you are giving to the security profile.
|
addHandlerContext, copyBaseTo, 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, withSdkRequestTimeoutpublic void setSecurityProfileName(String securityProfileName)
The name you are giving to the security profile.
securityProfileName - The name you are giving to the security profile.public String getSecurityProfileName()
The name you are giving to the security profile.
public CreateSecurityProfileRequest withSecurityProfileName(String securityProfileName)
The name you are giving to the security profile.
securityProfileName - The name you are giving to the security profile.public void setSecurityProfileDescription(String securityProfileDescription)
A description of the security profile.
securityProfileDescription - A description of the security profile.public String getSecurityProfileDescription()
A description of the security profile.
public CreateSecurityProfileRequest withSecurityProfileDescription(String securityProfileDescription)
A description of the security profile.
securityProfileDescription - A description of the security profile.public List<Behavior> getBehaviors()
Specifies the behaviors that, when violated by a device (thing), cause an alert.
public void setBehaviors(Collection<Behavior> behaviors)
Specifies the behaviors that, when violated by a device (thing), cause an alert.
behaviors - Specifies the behaviors that, when violated by a device (thing), cause an alert.public CreateSecurityProfileRequest withBehaviors(Behavior... behaviors)
Specifies the behaviors that, when violated by a device (thing), cause an alert.
NOTE: This method appends the values to the existing list (if any). Use
setBehaviors(java.util.Collection) or withBehaviors(java.util.Collection) if you want to
override the existing values.
behaviors - Specifies the behaviors that, when violated by a device (thing), cause an alert.public CreateSecurityProfileRequest withBehaviors(Collection<Behavior> behaviors)
Specifies the behaviors that, when violated by a device (thing), cause an alert.
behaviors - Specifies the behaviors that, when violated by a device (thing), cause an alert.public Map<String,AlertTarget> getAlertTargets()
Specifies the destinations to which alerts are sent. (Alerts are always sent to the console.) Alerts are generated when a device (thing) violates a behavior.
public void setAlertTargets(Map<String,AlertTarget> alertTargets)
Specifies the destinations to which alerts are sent. (Alerts are always sent to the console.) Alerts are generated when a device (thing) violates a behavior.
alertTargets - Specifies the destinations to which alerts are sent. (Alerts are always sent to the console.) Alerts are
generated when a device (thing) violates a behavior.public CreateSecurityProfileRequest withAlertTargets(Map<String,AlertTarget> alertTargets)
Specifies the destinations to which alerts are sent. (Alerts are always sent to the console.) Alerts are generated when a device (thing) violates a behavior.
alertTargets - Specifies the destinations to which alerts are sent. (Alerts are always sent to the console.) Alerts are
generated when a device (thing) violates a behavior.public CreateSecurityProfileRequest addAlertTargetsEntry(String key, AlertTarget value)
public CreateSecurityProfileRequest clearAlertTargetsEntries()
public String toString()
toString in class ObjectObject.toString()public CreateSecurityProfileRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2018. All rights reserved.