public class AttachSecurityProfileRequest extends AmazonWebServiceRequest implements java.io.Serializable
Associates a Device Defender security profile with a thing group or 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(java.lang.Object obj) |
java.lang.String |
getSecurityProfileName()
The security profile that is attached.
|
java.lang.String |
getSecurityProfileTargetArn()
The ARN of the target (thing group) to which the security profile is
attached.
|
int |
hashCode() |
void |
setSecurityProfileName(java.lang.String securityProfileName)
The security profile that is attached.
|
void |
setSecurityProfileTargetArn(java.lang.String securityProfileTargetArn)
The ARN of the target (thing group) to which the security profile is
attached.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AttachSecurityProfileRequest |
withSecurityProfileName(java.lang.String securityProfileName)
The security profile that is attached.
|
AttachSecurityProfileRequest |
withSecurityProfileTargetArn(java.lang.String securityProfileTargetArn)
The ARN of the target (thing group) to which the security profile is
attached.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.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(java.lang.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(java.lang.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 java.lang.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(java.lang.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(java.lang.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 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.