public class PutDestinationRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
destinationName
A name for the destination.
|
private java.lang.String |
roleArn
The ARN of an IAM role that grants CloudWatch Logs permissions to do
Amazon Kinesis PutRecord requests on the desitnation stream.
|
private java.lang.String |
targetArn
The ARN of an Amazon Kinesis stream to deliver matching log events to.
|
NOOP
Constructor and Description |
---|
PutDestinationRequest() |
Modifier and Type | Method and Description |
---|---|
PutDestinationRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDestinationName()
A name for the destination.
|
java.lang.String |
getRoleArn()
The ARN of an IAM role that grants CloudWatch Logs permissions to do
Amazon Kinesis PutRecord requests on the desitnation stream.
|
java.lang.String |
getTargetArn()
The ARN of an Amazon Kinesis stream to deliver matching log events to.
|
int |
hashCode() |
void |
setDestinationName(java.lang.String destinationName)
A name for the destination.
|
void |
setRoleArn(java.lang.String roleArn)
The ARN of an IAM role that grants CloudWatch Logs permissions to do
Amazon Kinesis PutRecord requests on the desitnation stream.
|
void |
setTargetArn(java.lang.String targetArn)
The ARN of an Amazon Kinesis stream to deliver matching log events to.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PutDestinationRequest |
withDestinationName(java.lang.String destinationName)
A name for the destination.
|
PutDestinationRequest |
withRoleArn(java.lang.String roleArn)
The ARN of an IAM role that grants CloudWatch Logs permissions to do
Amazon Kinesis PutRecord requests on the desitnation stream.
|
PutDestinationRequest |
withTargetArn(java.lang.String targetArn)
The ARN of an Amazon Kinesis stream to deliver matching log events to.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String destinationName
A name for the destination.
private java.lang.String targetArn
The ARN of an Amazon Kinesis stream to deliver matching log events to.
private java.lang.String roleArn
The ARN of an IAM role that grants CloudWatch Logs permissions to do Amazon Kinesis PutRecord requests on the desitnation stream.
public void setDestinationName(java.lang.String destinationName)
A name for the destination.
destinationName
- A name for the destination.public java.lang.String getDestinationName()
A name for the destination.
public PutDestinationRequest withDestinationName(java.lang.String destinationName)
A name for the destination.
destinationName
- A name for the destination.public void setTargetArn(java.lang.String targetArn)
The ARN of an Amazon Kinesis stream to deliver matching log events to.
targetArn
- The ARN of an Amazon Kinesis stream to deliver matching log events
to.public java.lang.String getTargetArn()
The ARN of an Amazon Kinesis stream to deliver matching log events to.
public PutDestinationRequest withTargetArn(java.lang.String targetArn)
The ARN of an Amazon Kinesis stream to deliver matching log events to.
targetArn
- The ARN of an Amazon Kinesis stream to deliver matching log events
to.public void setRoleArn(java.lang.String roleArn)
The ARN of an IAM role that grants CloudWatch Logs permissions to do Amazon Kinesis PutRecord requests on the desitnation stream.
roleArn
- The ARN of an IAM role that grants CloudWatch Logs permissions to
do Amazon Kinesis PutRecord requests on the desitnation stream.public java.lang.String getRoleArn()
The ARN of an IAM role that grants CloudWatch Logs permissions to do Amazon Kinesis PutRecord requests on the desitnation stream.
public PutDestinationRequest withRoleArn(java.lang.String roleArn)
The ARN of an IAM role that grants CloudWatch Logs permissions to do Amazon Kinesis PutRecord requests on the desitnation stream.
roleArn
- The ARN of an IAM role that grants CloudWatch Logs permissions to
do Amazon Kinesis PutRecord requests on the desitnation stream.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public PutDestinationRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()