@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.
|
Boolean |
getEngineNativeAuditFieldsIncluded()
Specifies whether the database activity stream includes engine-native audit fields.
|
String |
getKmsKeyId()
The Amazon Web Services 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.
|
Boolean |
isEngineNativeAuditFieldsIncluded()
Specifies whether the database activity stream includes engine-native audit fields.
|
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 |
setEngineNativeAuditFieldsIncluded(Boolean engineNativeAuditFieldsIncluded)
Specifies whether the database activity stream includes engine-native audit fields.
|
void |
setKmsKeyId(String kmsKeyId)
The Amazon Web Services 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 |
withEngineNativeAuditFieldsIncluded(Boolean engineNativeAuditFieldsIncluded)
Specifies whether the database activity stream includes engine-native audit fields.
|
StartActivityStreamRequest |
withKmsKeyId(String kmsKeyId)
The Amazon Web Services 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 Amazon Web Services KMS key identifier for encrypting messages in the database activity stream. The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.
kmsKeyId - The Amazon Web Services KMS key identifier for encrypting messages in the database activity stream. The
Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.public String getKmsKeyId()
The Amazon Web Services KMS key identifier for encrypting messages in the database activity stream. The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.
public StartActivityStreamRequest withKmsKeyId(String kmsKeyId)
The Amazon Web Services KMS key identifier for encrypting messages in the database activity stream. The Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.
kmsKeyId - The Amazon Web Services KMS key identifier for encrypting messages in the database activity stream. The
Amazon Web Services KMS key identifier is the key ARN, key ID, alias ARN, or alias name for the KMS key.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 void setEngineNativeAuditFieldsIncluded(Boolean engineNativeAuditFieldsIncluded)
Specifies whether the database activity stream includes engine-native audit fields. This option applies to an Oracle or Microsoft SQL Server DB instance. By default, no engine-native audit fields are included.
engineNativeAuditFieldsIncluded - Specifies whether the database activity stream includes engine-native audit fields. This option applies to
an Oracle or Microsoft SQL Server DB instance. By default, no engine-native audit fields are included.public Boolean getEngineNativeAuditFieldsIncluded()
Specifies whether the database activity stream includes engine-native audit fields. This option applies to an Oracle or Microsoft SQL Server DB instance. By default, no engine-native audit fields are included.
public StartActivityStreamRequest withEngineNativeAuditFieldsIncluded(Boolean engineNativeAuditFieldsIncluded)
Specifies whether the database activity stream includes engine-native audit fields. This option applies to an Oracle or Microsoft SQL Server DB instance. By default, no engine-native audit fields are included.
engineNativeAuditFieldsIncluded - Specifies whether the database activity stream includes engine-native audit fields. This option applies to
an Oracle or Microsoft SQL Server DB instance. By default, no engine-native audit fields are included.public Boolean isEngineNativeAuditFieldsIncluded()
Specifies whether the database activity stream includes engine-native audit fields. This option applies to an Oracle or Microsoft SQL Server DB instance. By default, no engine-native audit fields are included.
public String toString()
toString in class ObjectObject.toString()public StartActivityStreamRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()