public class AttachSecurityProfileRequest extends AmazonWebServiceRequest implements Serializable
Associates a Device Defender security profile with a thing group or with this account. Each thing group or account can have up to five security profiles associated with it.
| Constructor and Description |
|---|
AttachSecurityProfileRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getSecurityProfileName()
The security profile that is attached.
|
String |
getSecurityProfileTargetArn()
The ARN of the target (thing group) to which the security profile is
attached.
|
int |
hashCode() |
void |
setSecurityProfileName(String securityProfileName)
The security profile that is attached.
|
void |
setSecurityProfileTargetArn(String securityProfileTargetArn)
The ARN of the target (thing group) to which the security profile is
attached.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AttachSecurityProfileRequest |
withSecurityProfileName(String securityProfileName)
The security profile that is attached.
|
AttachSecurityProfileRequest |
withSecurityProfileTargetArn(String securityProfileTargetArn)
The ARN of the target (thing group) to which the security profile is
attached.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getSecurityProfileName()
The security profile that is attached.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
The security profile that is attached.
public void setSecurityProfileName(String securityProfileName)
The security profile that is attached.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
securityProfileName - The security profile that is attached.
public AttachSecurityProfileRequest withSecurityProfileName(String securityProfileName)
The security profile that is attached.
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 security profile that is attached.
public String getSecurityProfileTargetArn()
The ARN of the target (thing group) to which the security profile is attached.
The ARN of the target (thing group) to which the security profile is attached.
public void setSecurityProfileTargetArn(String securityProfileTargetArn)
The ARN of the target (thing group) to which the security profile is attached.
securityProfileTargetArn - The ARN of the target (thing group) to which the security profile is attached.
public AttachSecurityProfileRequest withSecurityProfileTargetArn(String securityProfileTargetArn)
The ARN of the target (thing group) to which the security profile is attached.
Returns a reference to this object so that method calls can be chained together.
securityProfileTargetArn - The ARN of the target (thing group) to which the security profile is attached.
public String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.