@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeConfigurationRevisionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeConfigurationRevisionResult() |
Modifier and Type | Method and Description |
---|---|
DescribeConfigurationRevisionResult |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the configuration.
|
Date |
getCreationTime()
The time when the configuration was created.
|
String |
getDescription()
The description of the configuration.
|
Long |
getRevision()
The revision number.
|
ByteBuffer |
getServerProperties()
Contents of the server.properties file.
|
int |
hashCode() |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the configuration.
|
void |
setCreationTime(Date creationTime)
The time when the configuration was created.
|
void |
setDescription(String description)
The description of the configuration.
|
void |
setRevision(Long revision)
The revision number.
|
void |
setServerProperties(ByteBuffer serverProperties)
Contents of the server.properties file.
|
String |
toString()
Returns a string representation of this object.
|
DescribeConfigurationRevisionResult |
withArn(String arn)
The Amazon Resource Name (ARN) of the configuration.
|
DescribeConfigurationRevisionResult |
withCreationTime(Date creationTime)
The time when the configuration was created.
|
DescribeConfigurationRevisionResult |
withDescription(String description)
The description of the configuration.
|
DescribeConfigurationRevisionResult |
withRevision(Long revision)
The revision number.
|
DescribeConfigurationRevisionResult |
withServerProperties(ByteBuffer serverProperties)
Contents of the server.properties file.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setArn(String arn)
The Amazon Resource Name (ARN) of the configuration.
arn
- The Amazon Resource Name (ARN) of the configuration.public String getArn()
The Amazon Resource Name (ARN) of the configuration.
public DescribeConfigurationRevisionResult withArn(String arn)
The Amazon Resource Name (ARN) of the configuration.
arn
- The Amazon Resource Name (ARN) of the configuration.public void setCreationTime(Date creationTime)
The time when the configuration was created.
creationTime
- The time when the configuration was created.public Date getCreationTime()
The time when the configuration was created.
public DescribeConfigurationRevisionResult withCreationTime(Date creationTime)
The time when the configuration was created.
creationTime
- The time when the configuration was created.public void setDescription(String description)
The description of the configuration.
description
- The description of the configuration.public String getDescription()
The description of the configuration.
public DescribeConfigurationRevisionResult withDescription(String description)
The description of the configuration.
description
- The description of the configuration.public void setRevision(Long revision)
The revision number.
revision
- The revision number.public Long getRevision()
The revision number.
public DescribeConfigurationRevisionResult withRevision(Long revision)
The revision number.
revision
- The revision number.public void setServerProperties(ByteBuffer serverProperties)
Contents of the server.properties file. When using the API, you must ensure that the contents of the file are base64 encoded. When using the AWS Management Console, the SDK, or the AWS CLI, the contents of server.properties can be in plaintext.
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future major version of the SDK.
serverProperties
- Contents of the server.properties file. When using the API, you must ensure that the contents of the file
are base64 encoded. When using the AWS Management Console, the SDK, or the AWS CLI, the contents of
server.properties can be in plaintext.public ByteBuffer getServerProperties()
Contents of the server.properties file. When using the API, you must ensure that the contents of the file are base64 encoded. When using the AWS Management Console, the SDK, or the AWS CLI, the contents of server.properties can be in plaintext.
ByteBuffer
s are stateful. Calling their get
methods changes their position
. We recommend
using ByteBuffer.asReadOnlyBuffer()
to create a read-only view of the buffer with an independent
position
, and calling get
methods on this rather than directly on the returned ByteBuffer
.
Doing so will ensure that anyone else using the ByteBuffer
will not be affected by changes to the
position
.
public DescribeConfigurationRevisionResult withServerProperties(ByteBuffer serverProperties)
Contents of the server.properties file. When using the API, you must ensure that the contents of the file are base64 encoded. When using the AWS Management Console, the SDK, or the AWS CLI, the contents of server.properties can be in plaintext.
The AWS SDK for Java performs a Base64 encoding on this field before sending this request to the AWS service. Users of the SDK should not perform Base64 encoding on this field.
Warning: ByteBuffers returned by the SDK are mutable. Changes to the content or position of the byte buffer will be seen by all objects that have a reference to this object. It is recommended to call ByteBuffer.duplicate() or ByteBuffer.asReadOnlyBuffer() before using or reading from the buffer. This behavior will be changed in a future major version of the SDK.
serverProperties
- Contents of the server.properties file. When using the API, you must ensure that the contents of the file
are base64 encoded. When using the AWS Management Console, the SDK, or the AWS CLI, the contents of
server.properties can be in plaintext.public String toString()
toString
in class Object
Object.toString()
public DescribeConfigurationRevisionResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.