public class UpdateSecurityProfileResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
UpdateSecurityProfileResult() |
Modifier and Type | Method and Description |
---|---|
UpdateSecurityProfileResult |
addalertTargetsEntry(java.lang.String key,
AlertTarget value)
Where the alerts are sent.
|
UpdateSecurityProfileResult |
clearalertTargetsEntries()
Removes all the entries added into alertTargets.
|
boolean |
equals(java.lang.Object obj) |
java.util.List<java.lang.String> |
getAdditionalMetricsToRetain()
Please use
UpdateSecurityProfileResponse$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 that was updated.
|
java.lang.String |
getSecurityProfileDescription()
The description of the security profile.
|
java.lang.String |
getSecurityProfileName()
The name of the security profile that was updated.
|
java.lang.Long |
getVersion()
The updated version of the security profile.
|
int |
hashCode() |
void |
setAdditionalMetricsToRetain(java.util.Collection<java.lang.String> additionalMetricsToRetain)
Please use
UpdateSecurityProfileResponse$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 that was updated.
|
void |
setSecurityProfileDescription(java.lang.String securityProfileDescription)
The description of the security profile.
|
void |
setSecurityProfileName(java.lang.String securityProfileName)
The name of the security profile that was updated.
|
void |
setVersion(java.lang.Long version)
The updated version of the security profile.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateSecurityProfileResult |
withAdditionalMetricsToRetain(java.util.Collection<java.lang.String> additionalMetricsToRetain)
Please use
UpdateSecurityProfileResponse$additionalMetricsToRetainV2
instead.
|
UpdateSecurityProfileResult |
withAdditionalMetricsToRetain(java.lang.String... additionalMetricsToRetain)
Please use
UpdateSecurityProfileResponse$additionalMetricsToRetainV2
instead.
|
UpdateSecurityProfileResult |
withAdditionalMetricsToRetainV2(java.util.Collection<MetricToRetain> additionalMetricsToRetainV2)
A list of metrics whose data is retained (stored).
|
UpdateSecurityProfileResult |
withAdditionalMetricsToRetainV2(MetricToRetain... additionalMetricsToRetainV2)
A list of metrics whose data is retained (stored).
|
UpdateSecurityProfileResult |
withAlertTargets(java.util.Map<java.lang.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(java.util.Collection<Behavior> behaviors)
Specifies the behaviors that, when violated by a device (thing), cause an
alert.
|
UpdateSecurityProfileResult |
withCreationDate(java.util.Date creationDate)
The time the security profile was created.
|
UpdateSecurityProfileResult |
withLastModifiedDate(java.util.Date lastModifiedDate)
The time the security profile was last modified.
|
UpdateSecurityProfileResult |
withSecurityProfileArn(java.lang.String securityProfileArn)
The ARN of the security profile that was updated.
|
UpdateSecurityProfileResult |
withSecurityProfileDescription(java.lang.String securityProfileDescription)
The description of the security profile.
|
UpdateSecurityProfileResult |
withSecurityProfileName(java.lang.String securityProfileName)
The name of the security profile that was updated.
|
UpdateSecurityProfileResult |
withVersion(java.lang.Long version)
The updated version of the security profile.
|
public java.lang.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(java.lang.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(java.lang.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 java.lang.String getSecurityProfileArn()
The ARN of the security profile that was updated.
The ARN of the security profile that was updated.
public void setSecurityProfileArn(java.lang.String securityProfileArn)
The ARN of the security profile that was updated.
securityProfileArn
- The ARN of the security profile that was updated.
public UpdateSecurityProfileResult withSecurityProfileArn(java.lang.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 java.lang.String getSecurityProfileDescription()
The description of the security profile.
Constraints:
Length: - 1000
Pattern: [\p{Graph}\x20]*
The description of the security profile.
public void setSecurityProfileDescription(java.lang.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(java.lang.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 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 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(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 UpdateSecurityProfileResult 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 UpdateSecurityProfileResult 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 UpdateSecurityProfileResult 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 UpdateSecurityProfileResponse$additionalMetricsToRetainV2 instead.
A list of metrics whose data is retained (stored). By default, data is
retained for any metric used in the security profile's
behaviors
, but it is also retained for any metric specified
here.
Please use UpdateSecurityProfileResponse$additionalMetricsToRetainV2 instead.
A list of metrics whose data is retained (stored). By default,
data is retained for any metric used in the security 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 UpdateSecurityProfileResponse$additionalMetricsToRetainV2 instead.
A list of metrics whose data is retained (stored). By default, data is
retained for any metric used in the security profile's
behaviors
, but it is also retained for any metric specified
here.
additionalMetricsToRetain
- Please use UpdateSecurityProfileResponse$additionalMetricsToRetainV2 instead.
A list of metrics whose data is retained (stored). By default,
data is retained for any metric used in the security profile's
behaviors
, but it is also retained for any metric
specified here.
public UpdateSecurityProfileResult withAdditionalMetricsToRetain(java.lang.String... additionalMetricsToRetain)
Please use UpdateSecurityProfileResponse$additionalMetricsToRetainV2 instead.
A list of metrics whose data is retained (stored). By default, data is
retained for any metric used in the security 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 UpdateSecurityProfileResponse$additionalMetricsToRetainV2 instead.
A list of metrics whose data is retained (stored). By default,
data is retained for any metric used in the security profile's
behaviors
, but it is also retained for any metric
specified here.
public UpdateSecurityProfileResult withAdditionalMetricsToRetain(java.util.Collection<java.lang.String> additionalMetricsToRetain)
Please use UpdateSecurityProfileResponse$additionalMetricsToRetainV2 instead.
A list of metrics whose data is retained (stored). By default, data is
retained for any metric used in the security 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 UpdateSecurityProfileResponse$additionalMetricsToRetainV2 instead.
A list of metrics whose data is retained (stored). By default,
data is retained for any metric used in the security 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. Can be used with custom metrics; cannot be used with dimensions.
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. Can be used with custom metrics; cannot be used with dimensions.
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. Can be used with custom metrics; cannot be used with dimensions.
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. Can be used with custom metrics; cannot be used with dimensions.
public UpdateSecurityProfileResult 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. Can be used with custom metrics; cannot be used with dimensions.
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. Can be used with custom metrics; cannot be used with dimensions.
public UpdateSecurityProfileResult 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. Can be used with custom metrics; cannot be used with dimensions.
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. Can be used with custom metrics; cannot be used with dimensions.
public java.lang.Long getVersion()
The updated version of the security profile.
The updated version of the security profile.
public void setVersion(java.lang.Long version)
The updated version of the security profile.
version
- The updated version of the security profile.
public UpdateSecurityProfileResult withVersion(java.lang.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 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 UpdateSecurityProfileResult 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 UpdateSecurityProfileResult 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.