Interface UpdateCampaignResponse.Builder

    • 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 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.

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

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

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

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        CampaignStatus, CampaignStatus