public class SecurityProfileIdentifier
extends java.lang.Object
implements java.io.Serializable
Identifying information for a Device Defender security profile.
Constructor and Description |
---|
SecurityProfileIdentifier() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getArn()
The ARN of the security profile.
|
java.lang.String |
getName()
The name you've given to the security profile.
|
int |
hashCode() |
void |
setArn(java.lang.String arn)
The ARN of the security profile.
|
void |
setName(java.lang.String name)
The name you've given to the security profile.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SecurityProfileIdentifier |
withArn(java.lang.String arn)
The ARN of the security profile.
|
SecurityProfileIdentifier |
withName(java.lang.String name)
The name you've given to the security profile.
|
public java.lang.String getName()
The name you've given to the security profile.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
The name you've given to the security profile.
public void setName(java.lang.String name)
The name you've given to the security profile.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
name
- The name you've given to the security profile.
public SecurityProfileIdentifier withName(java.lang.String name)
The name you've given to 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:_-]+
name
- The name you've given to the security profile.
public java.lang.String getArn()
The ARN of the security profile.
The ARN of the security profile.
public void setArn(java.lang.String arn)
The ARN of the security profile.
arn
- The ARN of the security profile.
public SecurityProfileIdentifier withArn(java.lang.String arn)
The ARN of the security profile.
Returns a reference to this object so that method calls can be chained together.
arn
- The ARN of the security profile.
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.