@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, withSdkRequestTimeoutpublic 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.ActivityStreamModepublic 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.
ActivityStreamModepublic 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.ActivityStreamModepublic 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.ActivityStreamModepublic void setKmsKeyId(String kmsKeyId)
The AWS KMS key identifier for encrypting messages in the database activity stream. The AWS KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the AWS KMS customer master key (CMK).
kmsKeyId - The AWS KMS key identifier for encrypting messages in the database activity stream. The AWS KMS key
identifier is the key ARN, key ID, alias ARN, or alias name for the AWS KMS customer master key (CMK).public String getKmsKeyId()
The AWS KMS key identifier for encrypting messages in the database activity stream. The AWS KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the AWS KMS customer master key (CMK).
public StartActivityStreamRequest withKmsKeyId(String kmsKeyId)
The AWS KMS key identifier for encrypting messages in the database activity stream. The AWS KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the AWS KMS customer master key (CMK).
kmsKeyId - The AWS KMS key identifier for encrypting messages in the database activity stream. The AWS KMS key
identifier is the key ARN, key ID, alias ARN, or alias name for the AWS KMS customer master key (CMK).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 ObjectObject.toString()public StartActivityStreamRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()