@Generated(value="software.amazon.awssdk:codegen") public final class GetCampaignStateResponse extends ConnectCampaignsResponse implements ToCopyableBuilder<GetCampaignStateResponse.Builder,GetCampaignStateResponse>
GetCampaignStateResponse
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetCampaignStateResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetCampaignStateResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetCampaignStateResponse.Builder> |
serializableBuilderClass() |
CampaignState |
state()
Returns the value of the State property for this object.
|
String |
stateAsString()
Returns the value of the State property for this object.
|
GetCampaignStateResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final CampaignState state()
If the service returns an enum value that is not available in the current SDK version, state will return
CampaignState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
CampaignStatepublic final String stateAsString()
If the service returns an enum value that is not available in the current SDK version, state will return
CampaignState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
CampaignStatepublic GetCampaignStateResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetCampaignStateResponse.Builder,GetCampaignStateResponse>toBuilder in class AwsResponsepublic static GetCampaignStateResponse.Builder builder()
public static Class<? extends GetCampaignStateResponse.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.