Class PutDestinationRequest

    • Constructor Detail

      • PutDestinationRequest

        public PutDestinationRequest()
    • Method Detail

      • setDestinationName

        public void setDestinationName​(String destinationName)

        A name for the destination.

        Parameters:
        destinationName - A name for the destination.
      • getDestinationName

        public String getDestinationName()

        A name for the destination.

        Returns:
        A name for the destination.
      • withDestinationName

        public PutDestinationRequest withDestinationName​(String destinationName)

        A name for the destination.

        Parameters:
        destinationName - A name for the destination.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setTargetArn

        public void setTargetArn​(String targetArn)

        The ARN of an Amazon Kinesis stream to deliver matching log events to.

        Parameters:
        targetArn - The ARN of an Amazon Kinesis stream to deliver matching log events to.
      • getTargetArn

        public String getTargetArn()

        The ARN of an Amazon Kinesis stream to deliver matching log events to.

        Returns:
        The ARN of an Amazon Kinesis stream to deliver matching log events to.
      • withTargetArn

        public PutDestinationRequest withTargetArn​(String targetArn)

        The ARN of an Amazon Kinesis stream to deliver matching log events to.

        Parameters:
        targetArn - The ARN of an Amazon Kinesis stream to deliver matching log events to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setRoleArn

        public void setRoleArn​(String roleArn)

        The ARN of an IAM role that grants CloudWatch Logs permissions to do Amazon Kinesis PutRecord requests on the desitnation stream.

        Parameters:
        roleArn - The ARN of an IAM role that grants CloudWatch Logs permissions to do Amazon Kinesis PutRecord requests on the desitnation stream.
      • getRoleArn

        public String getRoleArn()

        The ARN of an IAM role that grants CloudWatch Logs permissions to do Amazon Kinesis PutRecord requests on the desitnation stream.

        Returns:
        The ARN of an IAM role that grants CloudWatch Logs permissions to do Amazon Kinesis PutRecord requests on the desitnation stream.
      • withRoleArn

        public PutDestinationRequest withRoleArn​(String roleArn)

        The ARN of an IAM role that grants CloudWatch Logs permissions to do Amazon Kinesis PutRecord requests on the desitnation stream.

        Parameters:
        roleArn - The ARN of an IAM role that grants CloudWatch Logs permissions to do Amazon Kinesis PutRecord requests on the desitnation stream.
        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