@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()
Creates a shallow clone of this object for all fields except the handler context.
|
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 the Amazon Kinesis PutRecord operation on
the destination stream.
|
String |
getTargetArn()
The ARN of an Amazon Kinesis stream to which to deliver matching log events.
|
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 the Amazon Kinesis PutRecord operation on
the destination stream.
|
void |
setTargetArn(String targetArn)
The ARN of an Amazon Kinesis stream to which to deliver matching log events.
|
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 the Amazon Kinesis PutRecord operation on
the destination stream.
|
PutDestinationRequest |
withTargetArn(String targetArn)
The ARN of an Amazon Kinesis stream to which to deliver matching log events.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic 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 which to deliver matching log events.
targetArn - The ARN of an Amazon Kinesis stream to which to deliver matching log events.public String getTargetArn()
The ARN of an Amazon Kinesis stream to which to deliver matching log events.
public PutDestinationRequest withTargetArn(String targetArn)
The ARN of an Amazon Kinesis stream to which to deliver matching log events.
targetArn - The ARN of an Amazon Kinesis stream to which to deliver matching log events.public void setRoleArn(String roleArn)
The ARN of an IAM role that grants CloudWatch Logs permissions to call the Amazon Kinesis PutRecord operation on the destination stream.
roleArn - The ARN of an IAM role that grants CloudWatch Logs permissions to call the Amazon Kinesis PutRecord
operation on the destination stream.public String getRoleArn()
The ARN of an IAM role that grants CloudWatch Logs permissions to call the Amazon Kinesis PutRecord operation on the destination stream.
public PutDestinationRequest withRoleArn(String roleArn)
The ARN of an IAM role that grants CloudWatch Logs permissions to call the Amazon Kinesis PutRecord operation on the destination stream.
roleArn - The ARN of an IAM role that grants CloudWatch Logs permissions to call the Amazon Kinesis PutRecord
operation on the destination stream.public String toString()
toString in class ObjectObject.toString()public PutDestinationRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.