@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartConfigurationSessionResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
StartConfigurationSessionResult() |
| Modifier and Type | Method and Description |
|---|---|
StartConfigurationSessionResult |
clone() |
boolean |
equals(Object obj) |
String |
getInitialConfigurationToken()
Token encapsulating state about the configuration session.
|
int |
hashCode() |
void |
setInitialConfigurationToken(String initialConfigurationToken)
Token encapsulating state about the configuration session.
|
String |
toString()
Returns a string representation of this object.
|
StartConfigurationSessionResult |
withInitialConfigurationToken(String initialConfigurationToken)
Token encapsulating state about the configuration session.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setInitialConfigurationToken(String initialConfigurationToken)
Token encapsulating state about the configuration session. Provide this token to the
GetLatestConfiguration API to retrieve configuration data.
This token should only be used once in your first call to GetLatestConfiguration. You must
use the new token in the GetLatestConfiguration response (NextPollConfigurationToken)
in each subsequent call to GetLatestConfiguration.
The InitialConfigurationToken and NextPollConfigurationToken should only be used once.
To support long poll use cases, the tokens are valid for up to 24 hours. If a GetLatestConfiguration
call uses an expired token, the system returns BadRequestException.
initialConfigurationToken - Token encapsulating state about the configuration session. Provide this token to the
GetLatestConfiguration API to retrieve configuration data.
This token should only be used once in your first call to GetLatestConfiguration. You
must use the new token in the GetLatestConfiguration response (
NextPollConfigurationToken) in each subsequent call to GetLatestConfiguration.
The InitialConfigurationToken and NextPollConfigurationToken should only be used
once. To support long poll use cases, the tokens are valid for up to 24 hours. If a
GetLatestConfiguration call uses an expired token, the system returns
BadRequestException.
public String getInitialConfigurationToken()
Token encapsulating state about the configuration session. Provide this token to the
GetLatestConfiguration API to retrieve configuration data.
This token should only be used once in your first call to GetLatestConfiguration. You must
use the new token in the GetLatestConfiguration response (NextPollConfigurationToken)
in each subsequent call to GetLatestConfiguration.
The InitialConfigurationToken and NextPollConfigurationToken should only be used once.
To support long poll use cases, the tokens are valid for up to 24 hours. If a GetLatestConfiguration
call uses an expired token, the system returns BadRequestException.
GetLatestConfiguration API to retrieve configuration data.
This token should only be used once in your first call to GetLatestConfiguration. You
must use the new token in the GetLatestConfiguration response (
NextPollConfigurationToken) in each subsequent call to GetLatestConfiguration.
The InitialConfigurationToken and NextPollConfigurationToken should only be
used once. To support long poll use cases, the tokens are valid for up to 24 hours. If a
GetLatestConfiguration call uses an expired token, the system returns
BadRequestException.
public StartConfigurationSessionResult withInitialConfigurationToken(String initialConfigurationToken)
Token encapsulating state about the configuration session. Provide this token to the
GetLatestConfiguration API to retrieve configuration data.
This token should only be used once in your first call to GetLatestConfiguration. You must
use the new token in the GetLatestConfiguration response (NextPollConfigurationToken)
in each subsequent call to GetLatestConfiguration.
The InitialConfigurationToken and NextPollConfigurationToken should only be used once.
To support long poll use cases, the tokens are valid for up to 24 hours. If a GetLatestConfiguration
call uses an expired token, the system returns BadRequestException.
initialConfigurationToken - Token encapsulating state about the configuration session. Provide this token to the
GetLatestConfiguration API to retrieve configuration data.
This token should only be used once in your first call to GetLatestConfiguration. You
must use the new token in the GetLatestConfiguration response (
NextPollConfigurationToken) in each subsequent call to GetLatestConfiguration.
The InitialConfigurationToken and NextPollConfigurationToken should only be used
once. To support long poll use cases, the tokens are valid for up to 24 hours. If a
GetLatestConfiguration call uses an expired token, the system returns
BadRequestException.
public String toString()
toString in class ObjectObject.toString()public StartConfigurationSessionResult clone()