public class UpdateSecurityProfileResult extends Object implements Serializable
| Constructor and Description |
|---|
UpdateSecurityProfileResult() |
| Modifier and Type | Method and Description |
|---|---|
UpdateSecurityProfileResult |
addalertTargetsEntry(String key,
AlertTarget value)
Where the alerts are sent.
|
UpdateSecurityProfileResult |
clearalertTargetsEntries()
Removes all the entries added into alertTargets.
|
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.
|
Date |
getCreationDate()
The time the security profile was created.
|
Date |
getLastModifiedDate()
The time the security profile was last modified.
|
String |
getSecurityProfileArn()
The ARN of the security profile that was updated.
|
String |
getSecurityProfileDescription()
The description of the security profile.
|
String |
getSecurityProfileName()
The name of the security profile that was updated.
|
Long |
getVersion()
The updated version of the security profile.
|
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 |
setCreationDate(Date creationDate)
The time the security profile was created.
|
void |
setLastModifiedDate(Date lastModifiedDate)
The time the security profile was last modified.
|
void |
setSecurityProfileArn(String securityProfileArn)
The ARN of the security profile that was updated.
|
void |
setSecurityProfileDescription(String securityProfileDescription)
The description of the security profile.
|
void |
setSecurityProfileName(String securityProfileName)
The name of the security profile that was updated.
|
void |
setVersion(Long version)
The updated version of the security profile.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateSecurityProfileResult |
withAlertTargets(Map<String,AlertTarget> alertTargets)
Where the alerts are sent.
|
UpdateSecurityProfileResult |
withBehaviors(Behavior... behaviors)
Specifies the behaviors that, when violated by a device (thing), cause an
alert.
|
UpdateSecurityProfileResult |
withBehaviors(Collection<Behavior> behaviors)
Specifies the behaviors that, when violated by a device (thing), cause an
alert.
|
UpdateSecurityProfileResult |
withCreationDate(Date creationDate)
The time the security profile was created.
|
UpdateSecurityProfileResult |
withLastModifiedDate(Date lastModifiedDate)
The time the security profile was last modified.
|
UpdateSecurityProfileResult |
withSecurityProfileArn(String securityProfileArn)
The ARN of the security profile that was updated.
|
UpdateSecurityProfileResult |
withSecurityProfileDescription(String securityProfileDescription)
The description of the security profile.
|
UpdateSecurityProfileResult |
withSecurityProfileName(String securityProfileName)
The name of the security profile that was updated.
|
UpdateSecurityProfileResult |
withVersion(Long version)
The updated version of the security profile.
|
public String getSecurityProfileName()
The name of the security profile that was updated.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
The name of the security profile that was updated.
public void setSecurityProfileName(String securityProfileName)
The name of the security profile that was updated.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
securityProfileName - The name of the security profile that was updated.
public UpdateSecurityProfileResult withSecurityProfileName(String securityProfileName)
The name of the security profile that was updated.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
securityProfileName - The name of the security profile that was updated.
public String getSecurityProfileArn()
The ARN of the security profile that was updated.
The ARN of the security profile that was updated.
public void setSecurityProfileArn(String securityProfileArn)
The ARN of the security profile that was updated.
securityProfileArn - The ARN of the security profile that was updated.
public UpdateSecurityProfileResult withSecurityProfileArn(String securityProfileArn)
The ARN of the security profile that was updated.
Returns a reference to this object so that method calls can be chained together.
securityProfileArn - The ARN of the security profile that was updated.
public String getSecurityProfileDescription()
The description of the security profile.
Constraints:
Length: - 1000
Pattern: [\p{Graph}\x20]*
The description of the security profile.
public void setSecurityProfileDescription(String securityProfileDescription)
The description of the security profile.
Constraints:
Length: - 1000
Pattern: [\p{Graph}\x20]*
securityProfileDescription - The description of the security profile.
public UpdateSecurityProfileResult withSecurityProfileDescription(String securityProfileDescription)
The description of the security profile.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 1000
Pattern: [\p{Graph}\x20]*
securityProfileDescription - The description of the security profile.
public List<Behavior> getBehaviors()
Specifies the behaviors that, when violated by a device (thing), cause an alert.
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 UpdateSecurityProfileResult withBehaviors(Behavior... behaviors)
Specifies the behaviors that, when violated by a device (thing), cause an alert.
Returns a reference to this object so that method calls can be chained together.
behaviors - Specifies the behaviors that, when violated by a device (thing), cause an alert.
public UpdateSecurityProfileResult withBehaviors(Collection<Behavior> behaviors)
Specifies the behaviors that, when violated by a device (thing), cause an alert.
Returns a reference to this object so that method calls can be chained together.
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.)
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 UpdateSecurityProfileResult withAlertTargets(Map<String,AlertTarget> alertTargets)
Where the alerts are sent. (Alerts are always sent to the console.)
Returns a reference to this object so that method calls can be chained together.
alertTargets - Where the alerts are sent. (Alerts are always sent to the console.)
public UpdateSecurityProfileResult addalertTargetsEntry(String key, AlertTarget value)
Where the alerts are sent. (Alerts are always sent to the console.)
The method adds a new key-value pair into alertTargets parameter, and returns a reference to this object so that method calls can be chained together.
key - The key of the entry to be added into alertTargets.value - The corresponding value of the entry to be added into
alertTargets.public UpdateSecurityProfileResult clearalertTargetsEntries()
Returns a reference to this object so that method calls can be chained together.
public Long getVersion()
The updated version of the security profile.
The updated version of the security profile.
public void setVersion(Long version)
The updated version of the security profile.
version - The updated version of the security profile.
public UpdateSecurityProfileResult withVersion(Long version)
The updated version of the security profile.
Returns a reference to this object so that method calls can be chained together.
version - The updated version of the security profile.
public Date getCreationDate()
The time the security profile was created.
The time the security profile was created.
public void setCreationDate(Date creationDate)
The time the security profile was created.
creationDate - The time the security profile was created.
public UpdateSecurityProfileResult withCreationDate(Date creationDate)
The time the security profile was created.
Returns a reference to this object so that method calls can be chained together.
creationDate - The time the security profile was created.
public Date getLastModifiedDate()
The time the security profile was last modified.
The time the security profile was last modified.
public void setLastModifiedDate(Date lastModifiedDate)
The time the security profile was last modified.
lastModifiedDate - The time the security profile was last modified.
public UpdateSecurityProfileResult withLastModifiedDate(Date lastModifiedDate)
The time the security profile was last modified.
Returns a reference to this object so that method calls can be chained together.
lastModifiedDate - The time the security profile was last modified.
public String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.