@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TrustAnchorDetail extends Object implements Serializable, Cloneable, StructuredPojo
The state of the trust anchor after a read or write operation.
Constructor and Description |
---|
TrustAnchorDetail() |
Modifier and Type | Method and Description |
---|---|
TrustAnchorDetail |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedAt()
The ISO-8601 timestamp when the trust anchor was created.
|
Boolean |
getEnabled()
Indicates whether the trust anchor is enabled.
|
String |
getName()
The name of the trust anchor.
|
List<NotificationSettingDetail> |
getNotificationSettings()
A list of notification settings to be associated to the trust anchor.
|
Source |
getSource()
The trust anchor type and its related certificate data.
|
String |
getTrustAnchorArn()
The ARN of the trust anchor.
|
String |
getTrustAnchorId()
The unique identifier of the trust anchor.
|
Date |
getUpdatedAt()
The ISO-8601 timestamp when the trust anchor was last updated.
|
int |
hashCode() |
Boolean |
isEnabled()
Indicates whether the trust anchor is enabled.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedAt(Date createdAt)
The ISO-8601 timestamp when the trust anchor was created.
|
void |
setEnabled(Boolean enabled)
Indicates whether the trust anchor is enabled.
|
void |
setName(String name)
The name of the trust anchor.
|
void |
setNotificationSettings(Collection<NotificationSettingDetail> notificationSettings)
A list of notification settings to be associated to the trust anchor.
|
void |
setSource(Source source)
The trust anchor type and its related certificate data.
|
void |
setTrustAnchorArn(String trustAnchorArn)
The ARN of the trust anchor.
|
void |
setTrustAnchorId(String trustAnchorId)
The unique identifier of the trust anchor.
|
void |
setUpdatedAt(Date updatedAt)
The ISO-8601 timestamp when the trust anchor was last updated.
|
String |
toString()
Returns a string representation of this object.
|
TrustAnchorDetail |
withCreatedAt(Date createdAt)
The ISO-8601 timestamp when the trust anchor was created.
|
TrustAnchorDetail |
withEnabled(Boolean enabled)
Indicates whether the trust anchor is enabled.
|
TrustAnchorDetail |
withName(String name)
The name of the trust anchor.
|
TrustAnchorDetail |
withNotificationSettings(Collection<NotificationSettingDetail> notificationSettings)
A list of notification settings to be associated to the trust anchor.
|
TrustAnchorDetail |
withNotificationSettings(NotificationSettingDetail... notificationSettings)
A list of notification settings to be associated to the trust anchor.
|
TrustAnchorDetail |
withSource(Source source)
The trust anchor type and its related certificate data.
|
TrustAnchorDetail |
withTrustAnchorArn(String trustAnchorArn)
The ARN of the trust anchor.
|
TrustAnchorDetail |
withTrustAnchorId(String trustAnchorId)
The unique identifier of the trust anchor.
|
TrustAnchorDetail |
withUpdatedAt(Date updatedAt)
The ISO-8601 timestamp when the trust anchor was last updated.
|
public void setCreatedAt(Date createdAt)
The ISO-8601 timestamp when the trust anchor was created.
createdAt
- The ISO-8601 timestamp when the trust anchor was created.public Date getCreatedAt()
The ISO-8601 timestamp when the trust anchor was created.
public TrustAnchorDetail withCreatedAt(Date createdAt)
The ISO-8601 timestamp when the trust anchor was created.
createdAt
- The ISO-8601 timestamp when the trust anchor was created.public void setEnabled(Boolean enabled)
Indicates whether the trust anchor is enabled.
enabled
- Indicates whether the trust anchor is enabled.public Boolean getEnabled()
Indicates whether the trust anchor is enabled.
public TrustAnchorDetail withEnabled(Boolean enabled)
Indicates whether the trust anchor is enabled.
enabled
- Indicates whether the trust anchor is enabled.public Boolean isEnabled()
Indicates whether the trust anchor is enabled.
public void setName(String name)
The name of the trust anchor.
name
- The name of the trust anchor.public String getName()
The name of the trust anchor.
public TrustAnchorDetail withName(String name)
The name of the trust anchor.
name
- The name of the trust anchor.public List<NotificationSettingDetail> getNotificationSettings()
A list of notification settings to be associated to the trust anchor.
public void setNotificationSettings(Collection<NotificationSettingDetail> notificationSettings)
A list of notification settings to be associated to the trust anchor.
notificationSettings
- A list of notification settings to be associated to the trust anchor.public TrustAnchorDetail withNotificationSettings(NotificationSettingDetail... notificationSettings)
A list of notification settings to be associated to the trust anchor.
NOTE: This method appends the values to the existing list (if any). Use
setNotificationSettings(java.util.Collection)
or withNotificationSettings(java.util.Collection)
if you want to override the existing values.
notificationSettings
- A list of notification settings to be associated to the trust anchor.public TrustAnchorDetail withNotificationSettings(Collection<NotificationSettingDetail> notificationSettings)
A list of notification settings to be associated to the trust anchor.
notificationSettings
- A list of notification settings to be associated to the trust anchor.public void setSource(Source source)
The trust anchor type and its related certificate data.
source
- The trust anchor type and its related certificate data.public Source getSource()
The trust anchor type and its related certificate data.
public TrustAnchorDetail withSource(Source source)
The trust anchor type and its related certificate data.
source
- The trust anchor type and its related certificate data.public void setTrustAnchorArn(String trustAnchorArn)
The ARN of the trust anchor.
trustAnchorArn
- The ARN of the trust anchor.public String getTrustAnchorArn()
The ARN of the trust anchor.
public TrustAnchorDetail withTrustAnchorArn(String trustAnchorArn)
The ARN of the trust anchor.
trustAnchorArn
- The ARN of the trust anchor.public void setTrustAnchorId(String trustAnchorId)
The unique identifier of the trust anchor.
trustAnchorId
- The unique identifier of the trust anchor.public String getTrustAnchorId()
The unique identifier of the trust anchor.
public TrustAnchorDetail withTrustAnchorId(String trustAnchorId)
The unique identifier of the trust anchor.
trustAnchorId
- The unique identifier of the trust anchor.public void setUpdatedAt(Date updatedAt)
The ISO-8601 timestamp when the trust anchor was last updated.
updatedAt
- The ISO-8601 timestamp when the trust anchor was last updated.public Date getUpdatedAt()
The ISO-8601 timestamp when the trust anchor was last updated.
public TrustAnchorDetail withUpdatedAt(Date updatedAt)
The ISO-8601 timestamp when the trust anchor was last updated.
updatedAt
- The ISO-8601 timestamp when the trust anchor was last updated.public String toString()
toString
in class Object
Object.toString()
public TrustAnchorDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.