Interface UpdateCampaignResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<UpdateCampaignResponse.Builder,UpdateCampaignResponse>,IoTFleetWiseResponse.Builder,SdkBuilder<UpdateCampaignResponse.Builder,UpdateCampaignResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- UpdateCampaignResponse
public static interface UpdateCampaignResponse.Builder extends IoTFleetWiseResponse.Builder, SdkPojo, CopyableBuilder<UpdateCampaignResponse.Builder,UpdateCampaignResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateCampaignResponse.Builderarn(String arn)The Amazon Resource Name (ARN) of the campaign.UpdateCampaignResponse.Buildername(String name)The name of the updated campaign.UpdateCampaignResponse.Builderstatus(String status)The state of a campaign.UpdateCampaignResponse.Builderstatus(CampaignStatus status)The state of a campaign.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.iotfleetwise.model.IoTFleetWiseResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
arn
UpdateCampaignResponse.Builder arn(String arn)
The Amazon Resource Name (ARN) of the campaign.
- Parameters:
arn- The Amazon Resource Name (ARN) of the campaign.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
UpdateCampaignResponse.Builder name(String name)
The name of the updated campaign.
- Parameters:
name- The name of the updated campaign.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
UpdateCampaignResponse.Builder status(String 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 theWAITING_FOR_APPROVALstate. 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.
- Parameters:
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 theWAITING_FOR_APPROVALstate. 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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CampaignStatus,CampaignStatus
-
-
status
UpdateCampaignResponse.Builder status(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 theWAITING_FOR_APPROVALstate. 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.
- Parameters:
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 theWAITING_FOR_APPROVALstate. 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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
CampaignStatus,CampaignStatus
-
-
-