Class PutDestinationRequest
java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.logs.model.PutDestinationRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
public class PutDestinationRequest
extends AmazonWebServiceRequest
implements Serializable, Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
A name for the destination.The ARN of an IAM role that grants CloudWatch Logs permissions to do Amazon Kinesis PutRecord requests on the desitnation stream.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 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.toString()
Returns a string representation of this object; useful for testing and debugging.withDestinationName
(String destinationName) A name for the destination.withRoleArn
(String roleArn) The ARN of an IAM role that grants CloudWatch Logs permissions to do Amazon Kinesis PutRecord requests on the desitnation stream.withTargetArn
(String targetArn) The ARN of an Amazon Kinesis stream to deliver matching log events to.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
Constructor Details
-
PutDestinationRequest
public PutDestinationRequest()
-
-
Method Details
-
setDestinationName
A name for the destination.
- Parameters:
destinationName
- A name for the destination.
-
getDestinationName
A name for the destination.
- Returns:
- A name for the destination.
-
withDestinationName
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
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
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
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
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
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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-