@Generated(value="software.amazon.awssdk:codegen") public final class UpdateCampaignResponse extends IoTFleetWiseResponse implements ToCopyableBuilder<UpdateCampaignResponse.Builder,UpdateCampaignResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateCampaignResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The Amazon Resource Name (ARN) of the campaign.
|
static UpdateCampaignResponse.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of the updated campaign.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateCampaignResponse.Builder> |
serializableBuilderClass() |
CampaignStatus |
status()
The state of a campaign.
|
String |
statusAsString()
The state of a campaign.
|
UpdateCampaignResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String arn()
The Amazon Resource Name (ARN) of the campaign.
public final String name()
The name of the updated campaign.
public final CampaignStatus status()
The state of a campaign. The status can be one of:
CREATING - Amazon Web Services IoT FleetWise is processing your request to create the campaign.
WAITING_FOR_APPROVAL - After a campaign is created, it enters the WAITING_FOR_APPROVAL
state. To allow Amazon Web Services IoT FleetWise to deploy the campaign to the target vehicle or fleet, use the
API operation to approve the campaign.
RUNNING - The campaign is active.
SUSPENDED - The campaign is suspended. To resume the campaign, use the API operation.
If the service returns an enum value that is not available in the current SDK version, status will
return CampaignStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
CREATING - Amazon Web Services IoT FleetWise is processing your request to create the
campaign.
WAITING_FOR_APPROVAL - After a campaign is created, it enters the
WAITING_FOR_APPROVAL state. To allow Amazon Web Services IoT FleetWise to deploy the
campaign to the target vehicle or fleet, use the API operation to approve the campaign.
RUNNING - The campaign is active.
SUSPENDED - The campaign is suspended. To resume the campaign, use the API operation.
CampaignStatuspublic final String statusAsString()
The state of a campaign. The status can be one of:
CREATING - Amazon Web Services IoT FleetWise is processing your request to create the campaign.
WAITING_FOR_APPROVAL - After a campaign is created, it enters the WAITING_FOR_APPROVAL
state. To allow Amazon Web Services IoT FleetWise to deploy the campaign to the target vehicle or fleet, use the
API operation to approve the campaign.
RUNNING - The campaign is active.
SUSPENDED - The campaign is suspended. To resume the campaign, use the API operation.
If the service returns an enum value that is not available in the current SDK version, status will
return CampaignStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
CREATING - Amazon Web Services IoT FleetWise is processing your request to create the
campaign.
WAITING_FOR_APPROVAL - After a campaign is created, it enters the
WAITING_FOR_APPROVAL state. To allow Amazon Web Services IoT FleetWise to deploy the
campaign to the target vehicle or fleet, use the API operation to approve the campaign.
RUNNING - The campaign is active.
SUSPENDED - The campaign is suspended. To resume the campaign, use the API operation.
CampaignStatuspublic UpdateCampaignResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateCampaignResponse.Builder,UpdateCampaignResponse>toBuilder in class AwsResponsepublic static UpdateCampaignResponse.Builder builder()
public static Class<? extends UpdateCampaignResponse.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 © 2022. All rights reserved.