public class DescribeSecurityProfileResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
DescribeSecurityProfileResult() |
Modifier and Type | Method and Description |
---|---|
DescribeSecurityProfileResult |
addalertTargetsEntry(java.lang.String key,
AlertTarget value)
Where the alerts are sent.
|
DescribeSecurityProfileResult |
clearalertTargetsEntries()
Removes all the entries added into alertTargets.
|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getAdditionalMetricsToRetain()
Please use
DescribeSecurityProfileResponse$additionalMetricsToRetainV2
instead.
|
java.util.List<MetricToRetain> |
getAdditionalMetricsToRetainV2()
A list of metrics whose data is retained (stored).
|
java.util.Map<java.lang.String,AlertTarget> |
getAlertTargets()
Where the alerts are sent.
|
java.util.List<Behavior> |
getBehaviors()
Specifies the behaviors that, when violated by a device (thing), cause an
alert.
|
java.util.Date |
getCreationDate()
The time the security profile was created.
|
java.util.Date |
getLastModifiedDate()
The time the security profile was last modified.
|
java.lang.String |
getSecurityProfileArn()
The ARN of the security profile.
|
java.lang.String |
getSecurityProfileDescription()
A description of the security profile (associated with the security
profile when it was created or updated).
|
java.lang.String |
getSecurityProfileName()
The name of the security profile.
|
java.lang.Long |
getVersion()
The version of the security profile.
|
int |
hashCode() |
void |
setAdditionalMetricsToRetain(java.util.Collection<java.lang.String> additionalMetricsToRetain)
Please use
DescribeSecurityProfileResponse$additionalMetricsToRetainV2
instead.
|
void |
setAdditionalMetricsToRetainV2(java.util.Collection<MetricToRetain> additionalMetricsToRetainV2)
A list of metrics whose data is retained (stored).
|
void |
setAlertTargets(java.util.Map<java.lang.String,AlertTarget> alertTargets)
Where the alerts are sent.
|
void |
setBehaviors(java.util.Collection<Behavior> behaviors)
Specifies the behaviors that, when violated by a device (thing), cause an
alert.
|
void |
setCreationDate(java.util.Date creationDate)
The time the security profile was created.
|
void |
setLastModifiedDate(java.util.Date lastModifiedDate)
The time the security profile was last modified.
|
void |
setSecurityProfileArn(java.lang.String securityProfileArn)
The ARN of the security profile.
|
void |
setSecurityProfileDescription(java.lang.String securityProfileDescription)
A description of the security profile (associated with the security
profile when it was created or updated).
|
void |
setSecurityProfileName(java.lang.String securityProfileName)
The name of the security profile.
|
void |
setVersion(java.lang.Long version)
The version of the security profile.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeSecurityProfileResult |
withAdditionalMetricsToRetain(java.util.Collection<java.lang.String> additionalMetricsToRetain)
Please use
DescribeSecurityProfileResponse$additionalMetricsToRetainV2
instead.
|
DescribeSecurityProfileResult |
withAdditionalMetricsToRetain(java.lang.String... additionalMetricsToRetain)
Please use
DescribeSecurityProfileResponse$additionalMetricsToRetainV2
instead.
|
DescribeSecurityProfileResult |
withAdditionalMetricsToRetainV2(java.util.Collection<MetricToRetain> additionalMetricsToRetainV2)
A list of metrics whose data is retained (stored).
|
DescribeSecurityProfileResult |
withAdditionalMetricsToRetainV2(MetricToRetain... additionalMetricsToRetainV2)
A list of metrics whose data is retained (stored).
|
DescribeSecurityProfileResult |
withAlertTargets(java.util.Map<java.lang.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(java.util.Collection<Behavior> behaviors)
Specifies the behaviors that, when violated by a device (thing), cause an
alert.
|
DescribeSecurityProfileResult |
withCreationDate(java.util.Date creationDate)
The time the security profile was created.
|
DescribeSecurityProfileResult |
withLastModifiedDate(java.util.Date lastModifiedDate)
The time the security profile was last modified.
|
DescribeSecurityProfileResult |
withSecurityProfileArn(java.lang.String securityProfileArn)
The ARN of the security profile.
|
DescribeSecurityProfileResult |
withSecurityProfileDescription(java.lang.String securityProfileDescription)
A description of the security profile (associated with the security
profile when it was created or updated).
|
DescribeSecurityProfileResult |
withSecurityProfileName(java.lang.String securityProfileName)
The name of the security profile.
|
DescribeSecurityProfileResult |
withVersion(java.lang.Long version)
The version of the security profile.
|
public java.lang.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(java.lang.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(java.lang.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 java.lang.String getSecurityProfileArn()
The ARN of the security profile.
The ARN of the security profile.
public void setSecurityProfileArn(java.lang.String securityProfileArn)
The ARN of the security profile.
securityProfileArn
- The ARN of the security profile.
public DescribeSecurityProfileResult withSecurityProfileArn(java.lang.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 java.lang.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(java.lang.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(java.lang.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 java.util.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(java.util.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(java.util.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 java.util.Map<java.lang.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(java.util.Map<java.lang.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(java.util.Map<java.lang.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(java.lang.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 java.util.List<java.lang.String> getAdditionalMetricsToRetain()
Please use DescribeSecurityProfileResponse$additionalMetricsToRetainV2 instead.
A list of metrics whose data is retained (stored). By default, data is
retained for any metric used in the profile's behaviors
, but
it is also retained for any metric specified here.
Please use DescribeSecurityProfileResponse$additionalMetricsToRetainV2 instead.
A list of metrics whose data is retained (stored). By default,
data is retained for any metric used in the profile's
behaviors
, but it is also retained for any metric
specified here.
public void setAdditionalMetricsToRetain(java.util.Collection<java.lang.String> additionalMetricsToRetain)
Please use DescribeSecurityProfileResponse$additionalMetricsToRetainV2 instead.
A list of metrics whose data is retained (stored). By default, data is
retained for any metric used in the profile's behaviors
, but
it is also retained for any metric specified here.
additionalMetricsToRetain
- Please use DescribeSecurityProfileResponse$additionalMetricsToRetainV2 instead.
A list of metrics whose data is retained (stored). By default,
data is retained for any metric used in the profile's
behaviors
, but it is also retained for any metric
specified here.
public DescribeSecurityProfileResult withAdditionalMetricsToRetain(java.lang.String... additionalMetricsToRetain)
Please use DescribeSecurityProfileResponse$additionalMetricsToRetainV2 instead.
A list of metrics whose data is retained (stored). By default, data is
retained for any metric used in the profile's behaviors
, but
it is also retained for any metric specified here.
Returns a reference to this object so that method calls can be chained together.
additionalMetricsToRetain
- Please use DescribeSecurityProfileResponse$additionalMetricsToRetainV2 instead.
A list of metrics whose data is retained (stored). By default,
data is retained for any metric used in the profile's
behaviors
, but it is also retained for any metric
specified here.
public DescribeSecurityProfileResult withAdditionalMetricsToRetain(java.util.Collection<java.lang.String> additionalMetricsToRetain)
Please use DescribeSecurityProfileResponse$additionalMetricsToRetainV2 instead.
A list of metrics whose data is retained (stored). By default, data is
retained for any metric used in the profile's behaviors
, but
it is also retained for any metric specified here.
Returns a reference to this object so that method calls can be chained together.
additionalMetricsToRetain
- Please use DescribeSecurityProfileResponse$additionalMetricsToRetainV2 instead.
A list of metrics whose data is retained (stored). By default,
data is retained for any metric used in the profile's
behaviors
, but it is also retained for any metric
specified here.
public java.util.List<MetricToRetain> getAdditionalMetricsToRetainV2()
A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the profile's behaviors, but it is also retained for any metric specified here.
A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the profile's behaviors, but it is also retained for any metric specified here.
public void setAdditionalMetricsToRetainV2(java.util.Collection<MetricToRetain> additionalMetricsToRetainV2)
A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the profile's behaviors, but it is also retained for any metric specified here.
additionalMetricsToRetainV2
- A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the profile's behaviors, but it is also retained for any metric specified here.
public DescribeSecurityProfileResult withAdditionalMetricsToRetainV2(MetricToRetain... additionalMetricsToRetainV2)
A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the profile's behaviors, but it is also retained for any metric specified here.
Returns a reference to this object so that method calls can be chained together.
additionalMetricsToRetainV2
- A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the profile's behaviors, but it is also retained for any metric specified here.
public DescribeSecurityProfileResult withAdditionalMetricsToRetainV2(java.util.Collection<MetricToRetain> additionalMetricsToRetainV2)
A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the profile's behaviors, but it is also retained for any metric specified here.
Returns a reference to this object so that method calls can be chained together.
additionalMetricsToRetainV2
- A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the profile's behaviors, but it is also retained for any metric specified here.
public java.lang.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(java.lang.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(java.lang.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 java.util.Date getCreationDate()
The time the security profile was created.
The time the security profile was created.
public void setCreationDate(java.util.Date creationDate)
The time the security profile was created.
creationDate
- The time the security profile was created.
public DescribeSecurityProfileResult withCreationDate(java.util.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 java.util.Date getLastModifiedDate()
The time the security profile was last modified.
The time the security profile was last modified.
public void setLastModifiedDate(java.util.Date lastModifiedDate)
The time the security profile was last modified.
lastModifiedDate
- The time the security profile was last modified.
public DescribeSecurityProfileResult withLastModifiedDate(java.util.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.