@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeSecurityProfileResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeSecurityProfileResult() |
Modifier and Type | Method and Description |
---|---|
DescribeSecurityProfileResult |
addAlertTargetsEntry(String key,
AlertTarget value)
Add a single AlertTargets entry
|
DescribeSecurityProfileResult |
clearAlertTargetsEntries()
Removes all the entries added into AlertTargets.
|
DescribeSecurityProfileResult |
clone() |
boolean |
equals(Object obj) |
List<String> |
getAdditionalMetricsToRetain()
Deprecated.
|
List<MetricToRetain> |
getAdditionalMetricsToRetainV2()
A list of metrics whose data is retained (stored).
|
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.
|
MetricsExportConfig |
getMetricsExportConfig()
Specifies the MQTT topic and role ARN required for metric export.
|
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 |
setAdditionalMetricsToRetain(Collection<String> additionalMetricsToRetain)
Deprecated.
|
void |
setAdditionalMetricsToRetainV2(Collection<MetricToRetain> additionalMetricsToRetainV2)
A list of metrics whose data is retained (stored).
|
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 |
setMetricsExportConfig(MetricsExportConfig metricsExportConfig)
Specifies the MQTT topic and role ARN required for metric export.
|
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.
|
DescribeSecurityProfileResult |
withAdditionalMetricsToRetain(Collection<String> additionalMetricsToRetain)
Deprecated.
|
DescribeSecurityProfileResult |
withAdditionalMetricsToRetain(String... additionalMetricsToRetain)
Deprecated.
|
DescribeSecurityProfileResult |
withAdditionalMetricsToRetainV2(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(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 |
withMetricsExportConfig(MetricsExportConfig metricsExportConfig)
Specifies the MQTT topic and role ARN required for metric export.
|
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.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setSecurityProfileName(String securityProfileName)
The name of the security profile.
securityProfileName
- The name of the security profile.public String getSecurityProfileName()
The name of the security profile.
public DescribeSecurityProfileResult withSecurityProfileName(String securityProfileName)
The name of the security profile.
securityProfileName
- The name of the security profile.public void setSecurityProfileArn(String securityProfileArn)
The ARN of the security profile.
securityProfileArn
- The ARN of the security profile.public String getSecurityProfileArn()
The ARN of the security profile.
public DescribeSecurityProfileResult withSecurityProfileArn(String securityProfileArn)
The ARN of the security profile.
securityProfileArn
- The ARN of the security profile.public void setSecurityProfileDescription(String securityProfileDescription)
A description of the security profile (associated with the security profile when it was created or updated).
securityProfileDescription
- A description of the security profile (associated with the security profile when it was created or
updated).public String getSecurityProfileDescription()
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).
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.
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.
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 DescribeSecurityProfileResult 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 DescribeSecurityProfileResult 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 DescribeSecurityProfileResult addAlertTargetsEntry(String key, AlertTarget value)
public DescribeSecurityProfileResult clearAlertTargetsEntries()
@Deprecated public List<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.
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.
@Deprecated public void setAdditionalMetricsToRetain(Collection<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.
@Deprecated public DescribeSecurityProfileResult withAdditionalMetricsToRetain(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.
NOTE: This method appends the values to the existing list (if any). Use
setAdditionalMetricsToRetain(java.util.Collection)
or
withAdditionalMetricsToRetain(java.util.Collection)
if you want to override the existing values.
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.
@Deprecated public DescribeSecurityProfileResult withAdditionalMetricsToRetain(Collection<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 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.
public void setAdditionalMetricsToRetainV2(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.
NOTE: This method appends the values to the existing list (if any). Use
setAdditionalMetricsToRetainV2(java.util.Collection)
or
withAdditionalMetricsToRetainV2(java.util.Collection)
if you want to override the existing values.
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(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 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 Long getVersion()
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.
version
- The version of the security profile. A new version is generated whenever the security profile is updated.public void setCreationDate(Date creationDate)
The time the security profile was created.
creationDate
- The time the security profile was created.public Date getCreationDate()
The time the security profile was created.
public DescribeSecurityProfileResult withCreationDate(Date creationDate)
The time the security profile was created.
creationDate
- The time the security profile was created.public void setLastModifiedDate(Date lastModifiedDate)
The time the security profile was last modified.
lastModifiedDate
- The time the security profile was last modified.public Date getLastModifiedDate()
The time the security profile was last modified.
public DescribeSecurityProfileResult withLastModifiedDate(Date lastModifiedDate)
The time the security profile was last modified.
lastModifiedDate
- The time the security profile was last modified.public void setMetricsExportConfig(MetricsExportConfig metricsExportConfig)
Specifies the MQTT topic and role ARN required for metric export.
metricsExportConfig
- Specifies the MQTT topic and role ARN required for metric export.public MetricsExportConfig getMetricsExportConfig()
Specifies the MQTT topic and role ARN required for metric export.
public DescribeSecurityProfileResult withMetricsExportConfig(MetricsExportConfig metricsExportConfig)
Specifies the MQTT topic and role ARN required for metric export.
metricsExportConfig
- Specifies the MQTT topic and role ARN required for metric export.public String toString()
toString
in class Object
Object.toString()
public DescribeSecurityProfileResult clone()