public class SecurityKey
extends java.lang.Object
implements java.io.Serializable
Configuration information of the security key.
Constructor and Description |
---|
SecurityKey() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAssociationId()
The existing association identifier that uniquely identifies the resource
type and storage config for the given instance ID.
|
java.util.Date |
getCreationTime()
When the security key was created.
|
java.lang.String |
getKey()
The key of the security key.
|
int |
hashCode() |
void |
setAssociationId(java.lang.String associationId)
The existing association identifier that uniquely identifies the resource
type and storage config for the given instance ID.
|
void |
setCreationTime(java.util.Date creationTime)
When the security key was created.
|
void |
setKey(java.lang.String key)
The key of the security key.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SecurityKey |
withAssociationId(java.lang.String associationId)
The existing association identifier that uniquely identifies the resource
type and storage config for the given instance ID.
|
SecurityKey |
withCreationTime(java.util.Date creationTime)
When the security key was created.
|
SecurityKey |
withKey(java.lang.String key)
The key of the security key.
|
public java.lang.String getAssociationId()
The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
Constraints:
Length: 1 - 100
The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
public void setAssociationId(java.lang.String associationId)
The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
Constraints:
Length: 1 - 100
associationId
- The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
public SecurityKey withAssociationId(java.lang.String associationId)
The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
associationId
- The existing association identifier that uniquely identifies the resource type and storage config for the given instance ID.
public java.lang.String getKey()
The key of the security key.
Constraints:
Length: 1 - 1024
The key of the security key.
public void setKey(java.lang.String key)
The key of the security key.
Constraints:
Length: 1 - 1024
key
- The key of the security key.
public SecurityKey withKey(java.lang.String key)
The key of the security key.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1024
key
- The key of the security key.
public java.util.Date getCreationTime()
When the security key was created.
When the security key was created.
public void setCreationTime(java.util.Date creationTime)
When the security key was created.
creationTime
- When the security key was created.
public SecurityKey withCreationTime(java.util.Date creationTime)
When the security key was created.
Returns a reference to this object so that method calls can be chained together.
creationTime
- When the security key was created.
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.