Class Action

    • Constructor Detail

      • Action

        public Action()
    • Method Detail

      • setDynamoDB

        public void setDynamoDB​(DynamoDBAction dynamoDB)

        Write to a DynamoDB table.

        Parameters:
        dynamoDB - Write to a DynamoDB table.
      • getDynamoDB

        public DynamoDBAction getDynamoDB()

        Write to a DynamoDB table.

        Returns:
        Write to a DynamoDB table.
      • withDynamoDB

        public Action withDynamoDB​(DynamoDBAction dynamoDB)

        Write to a DynamoDB table.

        Parameters:
        dynamoDB - Write to a DynamoDB table.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setLambda

        public void setLambda​(LambdaAction lambda)

        Invoke a Lambda function.

        Parameters:
        lambda - Invoke a Lambda function.
      • getLambda

        public LambdaAction getLambda()

        Invoke a Lambda function.

        Returns:
        Invoke a Lambda function.
      • withLambda

        public Action withLambda​(LambdaAction lambda)

        Invoke a Lambda function.

        Parameters:
        lambda - Invoke a Lambda function.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSns

        public void setSns​(SnsAction sns)

        Publish to an Amazon SNS topic.

        Parameters:
        sns - Publish to an Amazon SNS topic.
      • getSns

        public SnsAction getSns()

        Publish to an Amazon SNS topic.

        Returns:
        Publish to an Amazon SNS topic.
      • withSns

        public Action withSns​(SnsAction sns)

        Publish to an Amazon SNS topic.

        Parameters:
        sns - Publish to an Amazon SNS topic.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSqs

        public void setSqs​(SqsAction sqs)

        Publish to an Amazon SQS queue.

        Parameters:
        sqs - Publish to an Amazon SQS queue.
      • getSqs

        public SqsAction getSqs()

        Publish to an Amazon SQS queue.

        Returns:
        Publish to an Amazon SQS queue.
      • withSqs

        public Action withSqs​(SqsAction sqs)

        Publish to an Amazon SQS queue.

        Parameters:
        sqs - Publish to an Amazon SQS queue.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setKinesis

        public void setKinesis​(KinesisAction kinesis)

        Write data to an Amazon Kinesis stream.

        Parameters:
        kinesis - Write data to an Amazon Kinesis stream.
      • getKinesis

        public KinesisAction getKinesis()

        Write data to an Amazon Kinesis stream.

        Returns:
        Write data to an Amazon Kinesis stream.
      • withKinesis

        public Action withKinesis​(KinesisAction kinesis)

        Write data to an Amazon Kinesis stream.

        Parameters:
        kinesis - Write data to an Amazon Kinesis stream.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setRepublish

        public void setRepublish​(RepublishAction republish)

        Publish to another MQTT topic.

        Parameters:
        republish - Publish to another MQTT topic.
      • getRepublish

        public RepublishAction getRepublish()

        Publish to another MQTT topic.

        Returns:
        Publish to another MQTT topic.
      • withRepublish

        public Action withRepublish​(RepublishAction republish)

        Publish to another MQTT topic.

        Parameters:
        republish - Publish to another MQTT topic.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setS3

        public void setS3​(S3Action s3)

        Write to an Amazon S3 bucket.

        Parameters:
        s3 - Write to an Amazon S3 bucket.
      • getS3

        public S3Action getS3()

        Write to an Amazon S3 bucket.

        Returns:
        Write to an Amazon S3 bucket.
      • withS3

        public Action withS3​(S3Action s3)

        Write to an Amazon S3 bucket.

        Parameters:
        s3 - Write to an Amazon S3 bucket.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setFirehose

        public void setFirehose​(FirehoseAction firehose)

        Write to an Amazon Kinesis Firehose stream.

        Parameters:
        firehose - Write to an Amazon Kinesis Firehose stream.
      • getFirehose

        public FirehoseAction getFirehose()

        Write to an Amazon Kinesis Firehose stream.

        Returns:
        Write to an Amazon Kinesis Firehose stream.
      • withFirehose

        public Action withFirehose​(FirehoseAction firehose)

        Write to an Amazon Kinesis Firehose stream.

        Parameters:
        firehose - Write to an Amazon Kinesis Firehose stream.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setCloudwatchMetric

        public void setCloudwatchMetric​(CloudwatchMetricAction cloudwatchMetric)

        Capture a CloudWatch metric.

        Parameters:
        cloudwatchMetric - Capture a CloudWatch metric.
      • getCloudwatchMetric

        public CloudwatchMetricAction getCloudwatchMetric()

        Capture a CloudWatch metric.

        Returns:
        Capture a CloudWatch metric.
      • withCloudwatchMetric

        public Action withCloudwatchMetric​(CloudwatchMetricAction cloudwatchMetric)

        Capture a CloudWatch metric.

        Parameters:
        cloudwatchMetric - Capture a CloudWatch metric.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setCloudwatchAlarm

        public void setCloudwatchAlarm​(CloudwatchAlarmAction cloudwatchAlarm)

        Change the state of a CloudWatch alarm.

        Parameters:
        cloudwatchAlarm - Change the state of a CloudWatch alarm.
      • getCloudwatchAlarm

        public CloudwatchAlarmAction getCloudwatchAlarm()

        Change the state of a CloudWatch alarm.

        Returns:
        Change the state of a CloudWatch alarm.
      • withCloudwatchAlarm

        public Action withCloudwatchAlarm​(CloudwatchAlarmAction cloudwatchAlarm)

        Change the state of a CloudWatch alarm.

        Parameters:
        cloudwatchAlarm - Change the state of a CloudWatch alarm.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setElasticsearch

        public void setElasticsearch​(ElasticsearchAction elasticsearch)

        Write data to an Amazon Elasticsearch Service; domain.

        Parameters:
        elasticsearch - Write data to an Amazon Elasticsearch Service; domain.
      • getElasticsearch

        public ElasticsearchAction getElasticsearch()

        Write data to an Amazon Elasticsearch Service; domain.

        Returns:
        Write data to an Amazon Elasticsearch Service; domain.
      • withElasticsearch

        public Action withElasticsearch​(ElasticsearchAction elasticsearch)

        Write data to an Amazon Elasticsearch Service; domain.

        Parameters:
        elasticsearch - Write data to an Amazon Elasticsearch Service; domain.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object