@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateTrustAnchorRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateTrustAnchorRequest() |
Modifier and Type | Method and Description |
---|---|
CreateTrustAnchorRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getEnabled()
Specifies whether the trust anchor is enabled.
|
String |
getName()
The name of the trust anchor.
|
List<NotificationSetting> |
getNotificationSettings()
A list of notification settings to be associated to the trust anchor.
|
Source |
getSource()
The trust anchor type and its related certificate data.
|
List<Tag> |
getTags()
The tags to attach to the trust anchor.
|
int |
hashCode() |
Boolean |
isEnabled()
Specifies whether the trust anchor is enabled.
|
void |
setEnabled(Boolean enabled)
Specifies whether the trust anchor is enabled.
|
void |
setName(String name)
The name of the trust anchor.
|
void |
setNotificationSettings(Collection<NotificationSetting> 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 |
setTags(Collection<Tag> tags)
The tags to attach to the trust anchor.
|
String |
toString()
Returns a string representation of this object.
|
CreateTrustAnchorRequest |
withEnabled(Boolean enabled)
Specifies whether the trust anchor is enabled.
|
CreateTrustAnchorRequest |
withName(String name)
The name of the trust anchor.
|
CreateTrustAnchorRequest |
withNotificationSettings(Collection<NotificationSetting> notificationSettings)
A list of notification settings to be associated to the trust anchor.
|
CreateTrustAnchorRequest |
withNotificationSettings(NotificationSetting... notificationSettings)
A list of notification settings to be associated to the trust anchor.
|
CreateTrustAnchorRequest |
withSource(Source source)
The trust anchor type and its related certificate data.
|
CreateTrustAnchorRequest |
withTags(Collection<Tag> tags)
The tags to attach to the trust anchor.
|
CreateTrustAnchorRequest |
withTags(Tag... tags)
The tags to attach to the trust anchor.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setEnabled(Boolean enabled)
Specifies whether the trust anchor is enabled.
enabled
- Specifies whether the trust anchor is enabled.public Boolean getEnabled()
Specifies whether the trust anchor is enabled.
public CreateTrustAnchorRequest withEnabled(Boolean enabled)
Specifies whether the trust anchor is enabled.
enabled
- Specifies whether the trust anchor is enabled.public Boolean isEnabled()
Specifies 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 CreateTrustAnchorRequest withName(String name)
The name of the trust anchor.
name
- The name of the trust anchor.public List<NotificationSetting> getNotificationSettings()
A list of notification settings to be associated to the trust anchor.
public void setNotificationSettings(Collection<NotificationSetting> 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 CreateTrustAnchorRequest withNotificationSettings(NotificationSetting... 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 CreateTrustAnchorRequest withNotificationSettings(Collection<NotificationSetting> 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 CreateTrustAnchorRequest withSource(Source source)
The trust anchor type and its related certificate data.
source
- The trust anchor type and its related certificate data.public List<Tag> getTags()
The tags to attach to the trust anchor.
public void setTags(Collection<Tag> tags)
The tags to attach to the trust anchor.
tags
- The tags to attach to the trust anchor.public CreateTrustAnchorRequest withTags(Tag... tags)
The tags to attach to the trust anchor.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The tags to attach to the trust anchor.public CreateTrustAnchorRequest withTags(Collection<Tag> tags)
The tags to attach to the trust anchor.
tags
- The tags to attach to the trust anchor.public String toString()
toString
in class Object
Object.toString()
public CreateTrustAnchorRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()