@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutDestinationRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutDestinationRequest() |
Modifier and Type | Method and Description |
---|---|
PutDestinationRequest |
clone() |
boolean |
equals(Object obj) |
String |
getDestinationName()
A name for the destination.
|
String |
getRoleArn()
The ARN of an IAM role that grants CloudWatch Logs permissions to call Amazon Kinesis PutRecord on the
destination stream.
|
String |
getTargetArn()
The ARN of an Amazon Kinesis stream to deliver matching log events to.
|
int |
hashCode() |
void |
setDestinationName(String destinationName)
A name for the destination.
|
void |
setRoleArn(String roleArn)
The ARN of an IAM role that grants CloudWatch Logs permissions to call Amazon Kinesis PutRecord on the
destination stream.
|
void |
setTargetArn(String targetArn)
The ARN of an Amazon Kinesis stream to deliver matching log events to.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
PutDestinationRequest |
withDestinationName(String destinationName)
A name for the destination.
|
PutDestinationRequest |
withRoleArn(String roleArn)
The ARN of an IAM role that grants CloudWatch Logs permissions to call Amazon Kinesis PutRecord on the
destination stream.
|
PutDestinationRequest |
withTargetArn(String targetArn)
The ARN of an Amazon Kinesis stream to deliver matching log events to.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDestinationName(String destinationName)
A name for the destination.
destinationName
- A name for the destination.public String getDestinationName()
A name for the destination.
public PutDestinationRequest withDestinationName(String destinationName)
A name for the destination.
destinationName
- A name for the destination.public void setTargetArn(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 String getTargetArn()
The ARN of an Amazon Kinesis stream to deliver matching log events to.
public PutDestinationRequest withTargetArn(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(String roleArn)
The ARN of an IAM role that grants CloudWatch Logs permissions to call Amazon Kinesis PutRecord on the destination stream.
roleArn
- The ARN of an IAM role that grants CloudWatch Logs permissions to call Amazon Kinesis PutRecord on the
destination stream.public String getRoleArn()
The ARN of an IAM role that grants CloudWatch Logs permissions to call Amazon Kinesis PutRecord on the destination stream.
public PutDestinationRequest withRoleArn(String roleArn)
The ARN of an IAM role that grants CloudWatch Logs permissions to call Amazon Kinesis PutRecord on the destination stream.
roleArn
- The ARN of an IAM role that grants CloudWatch Logs permissions to call Amazon Kinesis PutRecord on the
destination stream.public String toString()
toString
in class Object
Object.toString()
public PutDestinationRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2017. All rights reserved.