@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UploadServerCertificateResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the response to a successful UploadServerCertificate request.
Constructor and Description |
---|
UploadServerCertificateResult() |
Modifier and Type | Method and Description |
---|---|
UploadServerCertificateResult |
clone() |
boolean |
equals(Object obj) |
ServerCertificateMetadata |
getServerCertificateMetadata()
The meta information of the uploaded server certificate without its certificate body, certificate chain, and
private key.
|
List<Tag> |
getTags()
A list of tags that are attached to the new IAM server certificate.
|
int |
hashCode() |
void |
setServerCertificateMetadata(ServerCertificateMetadata serverCertificateMetadata)
The meta information of the uploaded server certificate without its certificate body, certificate chain, and
private key.
|
void |
setTags(Collection<Tag> tags)
A list of tags that are attached to the new IAM server certificate.
|
String |
toString()
Returns a string representation of this object.
|
UploadServerCertificateResult |
withServerCertificateMetadata(ServerCertificateMetadata serverCertificateMetadata)
The meta information of the uploaded server certificate without its certificate body, certificate chain, and
private key.
|
UploadServerCertificateResult |
withTags(Collection<Tag> tags)
A list of tags that are attached to the new IAM server certificate.
|
UploadServerCertificateResult |
withTags(Tag... tags)
A list of tags that are attached to the new IAM server certificate.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setServerCertificateMetadata(ServerCertificateMetadata serverCertificateMetadata)
The meta information of the uploaded server certificate without its certificate body, certificate chain, and private key.
serverCertificateMetadata
- The meta information of the uploaded server certificate without its certificate body, certificate chain,
and private key.public ServerCertificateMetadata getServerCertificateMetadata()
The meta information of the uploaded server certificate without its certificate body, certificate chain, and private key.
public UploadServerCertificateResult withServerCertificateMetadata(ServerCertificateMetadata serverCertificateMetadata)
The meta information of the uploaded server certificate without its certificate body, certificate chain, and private key.
serverCertificateMetadata
- The meta information of the uploaded server certificate without its certificate body, certificate chain,
and private key.public List<Tag> getTags()
A list of tags that are attached to the new IAM server certificate. The returned list of tags is sorted by tag key. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
public void setTags(Collection<Tag> tags)
A list of tags that are attached to the new IAM server certificate. The returned list of tags is sorted by tag key. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
tags
- A list of tags that are attached to the new IAM server certificate. The returned list of tags is sorted by
tag key. For more information about tagging, see Tagging IAM resources in the
IAM User Guide.public UploadServerCertificateResult withTags(Tag... tags)
A list of tags that are attached to the new IAM server certificate. The returned list of tags is sorted by tag key. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
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
- A list of tags that are attached to the new IAM server certificate. The returned list of tags is sorted by
tag key. For more information about tagging, see Tagging IAM resources in the
IAM User Guide.public UploadServerCertificateResult withTags(Collection<Tag> tags)
A list of tags that are attached to the new IAM server certificate. The returned list of tags is sorted by tag key. For more information about tagging, see Tagging IAM resources in the IAM User Guide.
tags
- A list of tags that are attached to the new IAM server certificate. The returned list of tags is sorted by
tag key. For more information about tagging, see Tagging IAM resources in the
IAM User Guide.public String toString()
toString
in class Object
Object.toString()
public UploadServerCertificateResult clone()