Class CampaignSummary

    • Method Detail

      • arn

        public final String arn()

        The Amazon Resource Name (ARN) of a campaign.

        Returns:
        The Amazon Resource Name (ARN) of a campaign.
      • name

        public final String name()

        The name of a campaign.

        Returns:
        The name of a campaign.
      • description

        public final String description()

        The description of the campaign.

        Returns:
        The description of the campaign.
      • signalCatalogArn

        public final String signalCatalogArn()

        The ARN of the signal catalog associated with the campaign.

        Returns:
        The ARN of the signal catalog associated with the campaign.
      • targetArn

        public final String targetArn()

        The ARN of a vehicle or fleet to which the campaign is deployed.

        Returns:
        The ARN of a vehicle or fleet to which the campaign is deployed.
      • status

        public final CampaignStatus status()

        The state of a campaign. The status can be one of the following:

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

        Returns:
        The state of a campaign. The status can be one of the following:

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

        See Also:
        CampaignStatus
      • statusAsString

        public final String statusAsString()

        The state of a campaign. The status can be one of the following:

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

        Returns:
        The state of a campaign. The status can be one of the following:

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

        See Also:
        CampaignStatus
      • creationTime

        public final Instant creationTime()

        The time the campaign was created.

        Returns:
        The time the campaign was created.
      • lastModificationTime

        public final Instant lastModificationTime()

        The last time the campaign was modified.

        Returns:
        The last time the campaign was modified.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)