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 request.
|
boolean |
equals(Object obj) |
String |
getDestinationName()
A name for the destination.
|
String |
getRoleArn()
The ARN of an IAM role that grants Amazon CloudWatch Logs permissions to
do Amazon Kinesis PutRecord requests on the desitnation 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 Amazon CloudWatch Logs permissions to
do Amazon Kinesis PutRecord requests on the desitnation 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 Amazon CloudWatch Logs permissions to
do Amazon Kinesis PutRecord requests on the desitnation stream.
|
PutDestinationRequest |
withTargetArn(String targetArn)
The ARN of an Amazon Kinesis stream to deliver matching log events to.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, 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 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 Amazon CloudWatch Logs permissions to do Amazon Kinesis PutRecord requests on the desitnation stream.
roleArn - The ARN of an IAM role that grants Amazon CloudWatch Logs
permissions to do Amazon Kinesis PutRecord requests on the
desitnation stream.public String getRoleArn()
The ARN of an IAM role that grants Amazon CloudWatch Logs permissions to do Amazon Kinesis PutRecord requests on the desitnation stream.
public PutDestinationRequest withRoleArn(String roleArn)
The ARN of an IAM role that grants Amazon CloudWatch Logs permissions to do Amazon Kinesis PutRecord requests on the desitnation stream.
roleArn - The ARN of an IAM role that grants Amazon CloudWatch Logs
permissions to do Amazon Kinesis PutRecord requests on the
desitnation 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.