@Generated(value="software.amazon.awssdk:codegen") public final class GetLatestConfigurationResponse extends AppConfigDataResponse implements ToCopyableBuilder<GetLatestConfigurationResponse.Builder,GetLatestConfigurationResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetLatestConfigurationResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetLatestConfigurationResponse.Builder |
builder() |
SdkBytes |
configuration()
The data of the configuration.
|
String |
contentType()
A standard MIME type describing the format of the configuration content.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
nextPollConfigurationToken()
The latest token describing the current state of the configuration session.
|
Integer |
nextPollIntervalInSeconds()
The amount of time the client should wait before polling for configuration updates again.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetLatestConfigurationResponse.Builder> |
serializableBuilderClass() |
GetLatestConfigurationResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
versionLabel()
The user-defined label for the AppConfig hosted configuration version.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String nextPollConfigurationToken()
The latest token describing the current state of the configuration session. This must be provided to the
next call to GetLatestConfiguration.
This token should only be used once. To support long poll use cases, the token is valid for up to 24 hours. If a
GetLatestConfiguration call uses an expired token, the system returns
BadRequestException.
GetLatestConfiguration.
This token should only be used once. To support long poll use cases, the token is valid for up to 24
hours. If a GetLatestConfiguration call uses an expired token, the system returns
BadRequestException.
public final Integer nextPollIntervalInSeconds()
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 final String contentType()
A standard MIME type describing the format of the configuration content.
public final SdkBytes configuration()
The data of the configuration. This may be empty if the client already has the latest version of configuration.
public final String versionLabel()
The user-defined label for the AppConfig hosted configuration version. This attribute doesn't apply if the configuration is not from an AppConfig hosted configuration version. If the client already has the latest version of the configuration data, this value is empty.
public GetLatestConfigurationResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetLatestConfigurationResponse.Builder,GetLatestConfigurationResponse>toBuilder in class AwsResponsepublic static GetLatestConfigurationResponse.Builder builder()
public static Class<? extends GetLatestConfigurationResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.