@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateSecurityProfileRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
UpdateSecurityProfileRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdateSecurityProfileRequest |
addAlertTargetsEntry(String key,
AlertTarget value) |
UpdateSecurityProfileRequest |
clearAlertTargetsEntries()
Removes all the entries added into AlertTargets.
|
UpdateSecurityProfileRequest |
clone() |
boolean |
equals(Object obj) |
Map<String,AlertTarget> |
getAlertTargets()
Where the alerts are sent.
|
List<Behavior> |
getBehaviors()
Specifies the behaviors that, when violated by a device (thing), cause an alert.
|
Long |
getExpectedVersion()
The expected version of the security profile.
|
String |
getSecurityProfileDescription()
A description of the security profile.
|
String |
getSecurityProfileName()
The name of the security profile you want to update.
|
int |
hashCode() |
void |
setAlertTargets(Map<String,AlertTarget> alertTargets)
Where the alerts are sent.
|
void |
setBehaviors(Collection<Behavior> behaviors)
Specifies the behaviors that, when violated by a device (thing), cause an alert.
|
void |
setExpectedVersion(Long expectedVersion)
The expected version of the security profile.
|
void |
setSecurityProfileDescription(String securityProfileDescription)
A description of the security profile.
|
void |
setSecurityProfileName(String securityProfileName)
The name of the security profile you want to update.
|
String |
toString()
Returns a string representation of this object.
|
UpdateSecurityProfileRequest |
withAlertTargets(Map<String,AlertTarget> alertTargets)
Where the alerts are sent.
|
UpdateSecurityProfileRequest |
withBehaviors(Behavior... behaviors)
Specifies the behaviors that, when violated by a device (thing), cause an alert.
|
UpdateSecurityProfileRequest |
withBehaviors(Collection<Behavior> behaviors)
Specifies the behaviors that, when violated by a device (thing), cause an alert.
|
UpdateSecurityProfileRequest |
withExpectedVersion(Long expectedVersion)
The expected version of the security profile.
|
UpdateSecurityProfileRequest |
withSecurityProfileDescription(String securityProfileDescription)
A description of the security profile.
|
UpdateSecurityProfileRequest |
withSecurityProfileName(String securityProfileName)
The name of the security profile you want to update.
|
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 of the security profile you want to update.
securityProfileName - The name of the security profile you want to update.public String getSecurityProfileName()
The name of the security profile you want to update.
public UpdateSecurityProfileRequest withSecurityProfileName(String securityProfileName)
The name of the security profile you want to update.
securityProfileName - The name of the security profile you want to update.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 UpdateSecurityProfileRequest 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 UpdateSecurityProfileRequest 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 UpdateSecurityProfileRequest 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()
Where the alerts are sent. (Alerts are always sent to the console.)
public void setAlertTargets(Map<String,AlertTarget> alertTargets)
Where the alerts are sent. (Alerts are always sent to the console.)
alertTargets - Where the alerts are sent. (Alerts are always sent to the console.)public UpdateSecurityProfileRequest withAlertTargets(Map<String,AlertTarget> alertTargets)
Where the alerts are sent. (Alerts are always sent to the console.)
alertTargets - Where the alerts are sent. (Alerts are always sent to the console.)public UpdateSecurityProfileRequest addAlertTargetsEntry(String key, AlertTarget value)
public UpdateSecurityProfileRequest clearAlertTargetsEntries()
public void setExpectedVersion(Long expectedVersion)
The expected version of the security profile. A new version is generated whenever the security profile is
updated. If you specify a value that is different than the actual version, a
VersionConflictException is thrown.
expectedVersion - The expected version of the security profile. A new version is generated whenever the security profile is
updated. If you specify a value that is different than the actual version, a
VersionConflictException is thrown.public Long getExpectedVersion()
The expected version of the security profile. A new version is generated whenever the security profile is
updated. If you specify a value that is different than the actual version, a
VersionConflictException is thrown.
VersionConflictException is thrown.public UpdateSecurityProfileRequest withExpectedVersion(Long expectedVersion)
The expected version of the security profile. A new version is generated whenever the security profile is
updated. If you specify a value that is different than the actual version, a
VersionConflictException is thrown.
expectedVersion - The expected version of the security profile. A new version is generated whenever the security profile is
updated. If you specify a value that is different than the actual version, a
VersionConflictException is thrown.public String toString()
toString in class ObjectObject.toString()public UpdateSecurityProfileRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2019. All rights reserved.