@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartActivityStreamRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
StartActivityStreamRequest() |
Modifier and Type | Method and Description |
---|---|
StartActivityStreamRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getApplyImmediately()
Specifies whether or not the database activity stream is to start as soon as possible, regardless of the
maintenance window for the database.
|
String |
getKmsKeyId()
The AWS KMS key identifier for encrypting messages in the database activity stream.
|
String |
getMode()
Specifies the mode of the database activity stream.
|
String |
getResourceArn()
The Amazon Resource Name (ARN) of the DB cluster, for example
arn:aws:rds:us-east-1:12345667890:cluster:das-cluster . |
int |
hashCode() |
Boolean |
isApplyImmediately()
Specifies whether or not the database activity stream is to start as soon as possible, regardless of the
maintenance window for the database.
|
void |
setApplyImmediately(Boolean applyImmediately)
Specifies whether or not the database activity stream is to start as soon as possible, regardless of the
maintenance window for the database.
|
void |
setKmsKeyId(String kmsKeyId)
The AWS KMS key identifier for encrypting messages in the database activity stream.
|
void |
setMode(String mode)
Specifies the mode of the database activity stream.
|
void |
setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the DB cluster, for example
arn:aws:rds:us-east-1:12345667890:cluster:das-cluster . |
String |
toString()
Returns a string representation of this object.
|
StartActivityStreamRequest |
withApplyImmediately(Boolean applyImmediately)
Specifies whether or not the database activity stream is to start as soon as possible, regardless of the
maintenance window for the database.
|
StartActivityStreamRequest |
withKmsKeyId(String kmsKeyId)
The AWS KMS key identifier for encrypting messages in the database activity stream.
|
StartActivityStreamRequest |
withMode(ActivityStreamMode mode)
Specifies the mode of the database activity stream.
|
StartActivityStreamRequest |
withMode(String mode)
Specifies the mode of the database activity stream.
|
StartActivityStreamRequest |
withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the DB cluster, for example
arn:aws:rds:us-east-1:12345667890:cluster:das-cluster . |
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, withSdkRequestTimeout
public void setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the DB cluster, for example
arn:aws:rds:us-east-1:12345667890:cluster:das-cluster
.
resourceArn
- The Amazon Resource Name (ARN) of the DB cluster, for example
arn:aws:rds:us-east-1:12345667890:cluster:das-cluster
.public String getResourceArn()
The Amazon Resource Name (ARN) of the DB cluster, for example
arn:aws:rds:us-east-1:12345667890:cluster:das-cluster
.
arn:aws:rds:us-east-1:12345667890:cluster:das-cluster
.public StartActivityStreamRequest withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the DB cluster, for example
arn:aws:rds:us-east-1:12345667890:cluster:das-cluster
.
resourceArn
- The Amazon Resource Name (ARN) of the DB cluster, for example
arn:aws:rds:us-east-1:12345667890:cluster:das-cluster
.public void setMode(String mode)
Specifies the mode of the database activity stream. Database events such as a change or access generate an activity stream event. The database session can handle these events either synchronously or asynchronously.
mode
- Specifies the mode of the database activity stream. Database events such as a change or access generate an
activity stream event. The database session can handle these events either synchronously or
asynchronously.ActivityStreamMode
public String getMode()
Specifies the mode of the database activity stream. Database events such as a change or access generate an activity stream event. The database session can handle these events either synchronously or asynchronously.
ActivityStreamMode
public StartActivityStreamRequest withMode(String mode)
Specifies the mode of the database activity stream. Database events such as a change or access generate an activity stream event. The database session can handle these events either synchronously or asynchronously.
mode
- Specifies the mode of the database activity stream. Database events such as a change or access generate an
activity stream event. The database session can handle these events either synchronously or
asynchronously.ActivityStreamMode
public StartActivityStreamRequest withMode(ActivityStreamMode mode)
Specifies the mode of the database activity stream. Database events such as a change or access generate an activity stream event. The database session can handle these events either synchronously or asynchronously.
mode
- Specifies the mode of the database activity stream. Database events such as a change or access generate an
activity stream event. The database session can handle these events either synchronously or
asynchronously.ActivityStreamMode
public void setKmsKeyId(String kmsKeyId)
The AWS KMS key identifier for encrypting messages in the database activity stream. The key identifier can be either a key ID, a key ARN, or a key alias.
kmsKeyId
- The AWS KMS key identifier for encrypting messages in the database activity stream. The key identifier can
be either a key ID, a key ARN, or a key alias.public String getKmsKeyId()
The AWS KMS key identifier for encrypting messages in the database activity stream. The key identifier can be either a key ID, a key ARN, or a key alias.
public StartActivityStreamRequest withKmsKeyId(String kmsKeyId)
The AWS KMS key identifier for encrypting messages in the database activity stream. The key identifier can be either a key ID, a key ARN, or a key alias.
kmsKeyId
- The AWS KMS key identifier for encrypting messages in the database activity stream. The key identifier can
be either a key ID, a key ARN, or a key alias.public void setApplyImmediately(Boolean applyImmediately)
Specifies whether or not the database activity stream is to start as soon as possible, regardless of the maintenance window for the database.
applyImmediately
- Specifies whether or not the database activity stream is to start as soon as possible, regardless of the
maintenance window for the database.public Boolean getApplyImmediately()
Specifies whether or not the database activity stream is to start as soon as possible, regardless of the maintenance window for the database.
public StartActivityStreamRequest withApplyImmediately(Boolean applyImmediately)
Specifies whether or not the database activity stream is to start as soon as possible, regardless of the maintenance window for the database.
applyImmediately
- Specifies whether or not the database activity stream is to start as soon as possible, regardless of the
maintenance window for the database.public Boolean isApplyImmediately()
Specifies whether or not the database activity stream is to start as soon as possible, regardless of the maintenance window for the database.
public String toString()
toString
in class Object
Object.toString()
public StartActivityStreamRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.