Class StartConfigurationSessionResponse

All Implemented Interfaces:
SdkPojo, ToCopyableBuilder<StartConfigurationSessionResponse.Builder,StartConfigurationSessionResponse>

@Generated("software.amazon.awssdk:codegen") public final class StartConfigurationSessionResponse extends AppConfigDataResponse implements ToCopyableBuilder<StartConfigurationSessionResponse.Builder,StartConfigurationSessionResponse>
  • Method Details

    • initialConfigurationToken

      public final 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.

      Returns:
      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.

    • toBuilder

      Specified by:
      toBuilder in interface ToCopyableBuilder<StartConfigurationSessionResponse.Builder,StartConfigurationSessionResponse>
      Specified by:
      toBuilder in class AwsResponse
    • builder

    • serializableBuilderClass

      public static Class<? extends StartConfigurationSessionResponse.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class AwsResponse
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class AwsResponse
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • toString

      public final String toString()
      Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
      Overrides:
      getValueForField in class SdkResponse
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo