@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AddApplicationCloudWatchLoggingOptionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description | 
|---|
| AddApplicationCloudWatchLoggingOptionRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| AddApplicationCloudWatchLoggingOptionRequest | clone()Creates a shallow clone of this object for all fields except the handler context. | 
| boolean | equals(Object obj) | 
| String | getApplicationName()
 The Kinesis Analytics application name. | 
| CloudWatchLoggingOption | getCloudWatchLoggingOption()
 Provides the CloudWatch log stream Amazon Resource Name (ARN) and the IAM role ARN. | 
| Long | getCurrentApplicationVersionId()
 The version ID of the Kinesis Analytics application. | 
| int | hashCode() | 
| void | setApplicationName(String applicationName)
 The Kinesis Analytics application name. | 
| void | setCloudWatchLoggingOption(CloudWatchLoggingOption cloudWatchLoggingOption)
 Provides the CloudWatch log stream Amazon Resource Name (ARN) and the IAM role ARN. | 
| void | setCurrentApplicationVersionId(Long currentApplicationVersionId)
 The version ID of the Kinesis Analytics application. | 
| String | toString()Returns a string representation of this object. | 
| AddApplicationCloudWatchLoggingOptionRequest | withApplicationName(String applicationName)
 The Kinesis Analytics application name. | 
| AddApplicationCloudWatchLoggingOptionRequest | withCloudWatchLoggingOption(CloudWatchLoggingOption cloudWatchLoggingOption)
 Provides the CloudWatch log stream Amazon Resource Name (ARN) and the IAM role ARN. | 
| AddApplicationCloudWatchLoggingOptionRequest | withCurrentApplicationVersionId(Long currentApplicationVersionId)
 The version ID of the Kinesis Analytics application. | 
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 AddApplicationCloudWatchLoggingOptionRequest()
public void setApplicationName(String applicationName)
The Kinesis Analytics application name.
applicationName - The Kinesis Analytics application name.public String getApplicationName()
The Kinesis Analytics application name.
public AddApplicationCloudWatchLoggingOptionRequest withApplicationName(String applicationName)
The Kinesis Analytics application name.
applicationName - The Kinesis Analytics application name.public void setCurrentApplicationVersionId(Long currentApplicationVersionId)
The version ID of the Kinesis Analytics application.
currentApplicationVersionId - The version ID of the Kinesis Analytics application.public Long getCurrentApplicationVersionId()
The version ID of the Kinesis Analytics application.
public AddApplicationCloudWatchLoggingOptionRequest withCurrentApplicationVersionId(Long currentApplicationVersionId)
The version ID of the Kinesis Analytics application.
currentApplicationVersionId - The version ID of the Kinesis Analytics application.public void setCloudWatchLoggingOption(CloudWatchLoggingOption cloudWatchLoggingOption)
 Provides the CloudWatch log stream Amazon Resource Name (ARN) and the IAM role ARN. Note: To write application
 messages to CloudWatch, the IAM role that is used must have the PutLogEvents policy action enabled.
 
cloudWatchLoggingOption - Provides the CloudWatch log stream Amazon Resource Name (ARN) and the IAM role ARN. Note: To write
        application messages to CloudWatch, the IAM role that is used must have the PutLogEvents
        policy action enabled.public CloudWatchLoggingOption getCloudWatchLoggingOption()
 Provides the CloudWatch log stream Amazon Resource Name (ARN) and the IAM role ARN. Note: To write application
 messages to CloudWatch, the IAM role that is used must have the PutLogEvents policy action enabled.
 
PutLogEvents
         policy action enabled.public AddApplicationCloudWatchLoggingOptionRequest withCloudWatchLoggingOption(CloudWatchLoggingOption cloudWatchLoggingOption)
 Provides the CloudWatch log stream Amazon Resource Name (ARN) and the IAM role ARN. Note: To write application
 messages to CloudWatch, the IAM role that is used must have the PutLogEvents policy action enabled.
 
cloudWatchLoggingOption - Provides the CloudWatch log stream Amazon Resource Name (ARN) and the IAM role ARN. Note: To write
        application messages to CloudWatch, the IAM role that is used must have the PutLogEvents
        policy action enabled.public String toString()
toString in class ObjectObject.toString()public AddApplicationCloudWatchLoggingOptionRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()