Class Campaign

    • Method Detail

      • name

        public final String name()

        The name of the campaign.

        Returns:
        The name of the campaign.
      • campaignArn

        public final String campaignArn()

        The Amazon Resource Name (ARN) of the campaign.

        Returns:
        The Amazon Resource Name (ARN) of the campaign.
      • solutionVersionArn

        public final String solutionVersionArn()

        The Amazon Resource Name (ARN) of a specific version of the solution.

        Returns:
        The Amazon Resource Name (ARN) of a specific version of the solution.
      • minProvisionedTPS

        public final Integer minProvisionedTPS()

        Specifies the requested minimum provisioned transactions (recommendations) per second. A high minProvisionedTPS will increase your bill. We recommend starting with 1 for minProvisionedTPS (the default). Track your usage using Amazon CloudWatch metrics, and increase the minProvisionedTPS as necessary.

        Returns:
        Specifies the requested minimum provisioned transactions (recommendations) per second. A high minProvisionedTPS will increase your bill. We recommend starting with 1 for minProvisionedTPS (the default). Track your usage using Amazon CloudWatch metrics, and increase the minProvisionedTPS as necessary.
      • campaignConfig

        public final CampaignConfig campaignConfig()

        The configuration details of a campaign.

        Returns:
        The configuration details of a campaign.
      • status

        public final String status()

        The status of the campaign.

        A campaign can be in one of the following states:

        • CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED

        • DELETE PENDING > DELETE IN_PROGRESS

        Returns:
        The status of the campaign.

        A campaign can be in one of the following states:

        • CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED

        • DELETE PENDING > DELETE IN_PROGRESS

      • failureReason

        public final String failureReason()

        If a campaign fails, the reason behind the failure.

        Returns:
        If a campaign fails, the reason behind the failure.
      • creationDateTime

        public final Instant creationDateTime()

        The date and time (in Unix format) that the campaign was created.

        Returns:
        The date and time (in Unix format) that the campaign was created.
      • lastUpdatedDateTime

        public final Instant lastUpdatedDateTime()

        The date and time (in Unix format) that the campaign was last updated.

        Returns:
        The date and time (in Unix format) that the campaign was last updated.
      • latestCampaignUpdate

        public final CampaignUpdateSummary latestCampaignUpdate()
        Returns the value of the LatestCampaignUpdate property for this object.
        Returns:
        The value of the LatestCampaignUpdate property for this object.
      • 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)