@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetLatestConfigurationResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetLatestConfigurationResult() |
Modifier and Type | Method and Description |
---|---|
GetLatestConfigurationResult |
clone() |
boolean |
equals(Object obj) |
ByteBuffer |
getConfiguration()
The data of the configuration.
|
String |
getContentType()
A standard MIME type describing the format of the configuration content.
|
String |
getNextPollConfigurationToken()
The latest token describing the current state of the configuration session.
|
Integer |
getNextPollIntervalInSeconds()
The amount of time the client should wait before polling for configuration updates again.
|
int |
hashCode() |
void |
setConfiguration(ByteBuffer configuration)
The data of the configuration.
|
void |
setContentType(String contentType)
A standard MIME type describing the format of the configuration content.
|
void |
setNextPollConfigurationToken(String nextPollConfigurationToken)
The latest token describing the current state of the configuration session.
|
void |
setNextPollIntervalInSeconds(Integer nextPollIntervalInSeconds)
The amount of time the client should wait before polling for configuration updates again.
|
String |
toString()
Returns a string representation of this object.
|
GetLatestConfigurationResult |
withConfiguration(ByteBuffer configuration)
The data of the configuration.
|
GetLatestConfigurationResult |
withContentType(String contentType)
A standard MIME type describing the format of the configuration content.
|
GetLatestConfigurationResult |
withNextPollConfigurationToken(String nextPollConfigurationToken)
The latest token describing the current state of the configuration session.
|
GetLatestConfigurationResult |
withNextPollIntervalInSeconds(Integer nextPollIntervalInSeconds)
The amount of time the client should wait before polling for configuration updates again.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextPollConfigurationToken(String nextPollConfigurationToken)
The latest token describing the current state of the configuration session. This MUST be provided to the next
call to GetLatestConfiguration.
nextPollConfigurationToken
- The latest token describing the current state of the configuration session. This MUST be provided to the
next call to GetLatestConfiguration.
public String getNextPollConfigurationToken()
The latest token describing the current state of the configuration session. This MUST be provided to the next
call to GetLatestConfiguration.
GetLatestConfiguration.
public GetLatestConfigurationResult withNextPollConfigurationToken(String nextPollConfigurationToken)
The latest token describing the current state of the configuration session. This MUST be provided to the next
call to GetLatestConfiguration.
nextPollConfigurationToken
- The latest token describing the current state of the configuration session. This MUST be provided to the
next call to GetLatestConfiguration.
public void setNextPollIntervalInSeconds(Integer nextPollIntervalInSeconds)
The amount of time the client should wait before polling for configuration updates again. Use
RequiredMinimumPollIntervalInSeconds
to set the desired poll interval.
nextPollIntervalInSeconds
- The amount of time the client should wait before polling for configuration updates again. Use
RequiredMinimumPollIntervalInSeconds
to set the desired poll interval.public Integer getNextPollIntervalInSeconds()
The amount of time the client should wait before polling for configuration updates again. Use
RequiredMinimumPollIntervalInSeconds
to set the desired poll interval.
RequiredMinimumPollIntervalInSeconds
to set the desired poll interval.public GetLatestConfigurationResult withNextPollIntervalInSeconds(Integer nextPollIntervalInSeconds)
The amount of time the client should wait before polling for configuration updates again. Use
RequiredMinimumPollIntervalInSeconds
to set the desired poll interval.
nextPollIntervalInSeconds
- The amount of time the client should wait before polling for configuration updates again. Use
RequiredMinimumPollIntervalInSeconds
to set the desired poll interval.public void setContentType(String contentType)
A standard MIME type describing the format of the configuration content.
contentType
- A standard MIME type describing the format of the configuration content.public String getContentType()
A standard MIME type describing the format of the configuration content.
public GetLatestConfigurationResult withContentType(String contentType)
A standard MIME type describing the format of the configuration content.
contentType
- A standard MIME type describing the format of the configuration content.public void setConfiguration(ByteBuffer configuration)
The data of the configuration. This may be empty if the client already has the latest version of configuration.
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.
configuration
- The data of the configuration. This may be empty if the client already has the latest version of
configuration.public ByteBuffer getConfiguration()
The data of the configuration. This may be empty if the client already has the latest version of configuration.
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 GetLatestConfigurationResult withConfiguration(ByteBuffer configuration)
The data of the configuration. This may be empty if the client already has the latest version of configuration.
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.
configuration
- The data of the configuration. This may be empty if the client already has the latest version of
configuration.public String toString()
toString
in class Object
Object.toString()
public GetLatestConfigurationResult clone()