public class DescribeSecurityProfileResult extends Object implements Serializable
| Constructor and Description |
|---|
DescribeSecurityProfileResult() |
| Modifier and Type | Method and Description |
|---|---|
DescribeSecurityProfileResult |
addalertTargetsEntry(String key,
AlertTarget value)
Where the alerts are sent.
|
DescribeSecurityProfileResult |
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.
|
String |
getSecurityProfileDescription()
A description of the security profile (associated with the security
profile when it was created or updated).
|
String |
getSecurityProfileName()
The name of the security profile.
|
Long |
getVersion()
The 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.
|
void |
setSecurityProfileDescription(String securityProfileDescription)
A description of the security profile (associated with the security
profile when it was created or updated).
|
void |
setSecurityProfileName(String securityProfileName)
The name of the security profile.
|
void |
setVersion(Long version)
The version of the security profile.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeSecurityProfileResult |
withAlertTargets(Map<String,AlertTarget> alertTargets)
Where the alerts are sent.
|
DescribeSecurityProfileResult |
withBehaviors(Behavior... behaviors)
Specifies the behaviors that, when violated by a device (thing), cause an
alert.
|
DescribeSecurityProfileResult |
withBehaviors(Collection<Behavior> behaviors)
Specifies the behaviors that, when violated by a device (thing), cause an
alert.
|
DescribeSecurityProfileResult |
withCreationDate(Date creationDate)
The time the security profile was created.
|
DescribeSecurityProfileResult |
withLastModifiedDate(Date lastModifiedDate)
The time the security profile was last modified.
|
DescribeSecurityProfileResult |
withSecurityProfileArn(String securityProfileArn)
The ARN of the security profile.
|
DescribeSecurityProfileResult |
withSecurityProfileDescription(String securityProfileDescription)
A description of the security profile (associated with the security
profile when it was created or updated).
|
DescribeSecurityProfileResult |
withSecurityProfileName(String securityProfileName)
The name of the security profile.
|
DescribeSecurityProfileResult |
withVersion(Long version)
The version of the security profile.
|
public String getSecurityProfileName()
The name of the security profile.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
The name of the security profile.
public void setSecurityProfileName(String securityProfileName)
The name of the security profile.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
securityProfileName - The name of the security profile.
public DescribeSecurityProfileResult withSecurityProfileName(String securityProfileName)
The name of the security profile.
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.
public String getSecurityProfileArn()
The ARN of the security profile.
The ARN of the security profile.
public void setSecurityProfileArn(String securityProfileArn)
The ARN of the security profile.
securityProfileArn - The ARN of the security profile.
public DescribeSecurityProfileResult withSecurityProfileArn(String securityProfileArn)
The ARN of the security profile.
Returns a reference to this object so that method calls can be chained together.
securityProfileArn - The ARN of the security profile.
public String getSecurityProfileDescription()
A description of the security profile (associated with the security profile when it was created or updated).
Constraints:
Length: - 1000
Pattern: [\p{Graph}\x20]*
A description of the security profile (associated with the security profile when it was created or updated).
public void setSecurityProfileDescription(String securityProfileDescription)
A description of the security profile (associated with the security profile when it was created or updated).
Constraints:
Length: - 1000
Pattern: [\p{Graph}\x20]*
securityProfileDescription - A description of the security profile (associated with the security profile when it was created or updated).
public DescribeSecurityProfileResult withSecurityProfileDescription(String securityProfileDescription)
A description of the security profile (associated with the security profile when it was created or updated).
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 1000
Pattern: [\p{Graph}\x20]*
securityProfileDescription - A description of the security profile (associated with the security profile when it was created or updated).
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 DescribeSecurityProfileResult 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 DescribeSecurityProfileResult 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 DescribeSecurityProfileResult 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 DescribeSecurityProfileResult 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 DescribeSecurityProfileResult clearalertTargetsEntries()
Returns a reference to this object so that method calls can be chained together.
public Long getVersion()
The version of the security profile. A new version is generated whenever the security profile is updated.
The version of the security profile. A new version is generated whenever the security profile is updated.
public void setVersion(Long version)
The version of the security profile. A new version is generated whenever the security profile is updated.
version - The version of the security profile. A new version is generated whenever the security profile is updated.
public DescribeSecurityProfileResult withVersion(Long version)
The version of the security profile. A new version is generated whenever the security profile is updated.
Returns a reference to this object so that method calls can be chained together.
version - The version of the security profile. A new version is generated whenever the security profile is updated.
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 DescribeSecurityProfileResult 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 DescribeSecurityProfileResult 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 © 2018. All rights reserved.