Class StartActivityStreamRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.rds.model.RdsRequest
-
- software.amazon.awssdk.services.rds.model.StartActivityStreamRequest
-
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<StartActivityStreamRequest.Builder,StartActivityStreamRequest>
@Generated("software.amazon.awssdk:codegen") public final class StartActivityStreamRequest extends RdsRequest implements ToCopyableBuilder<StartActivityStreamRequest.Builder,StartActivityStreamRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
StartActivityStreamRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.static StartActivityStreamRequest.Builder
builder()
Boolean
engineNativeAuditFieldsIncluded()
Specifies whether the database activity stream includes engine-native audit fields.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
String
kmsKeyId()
The Amazon Web Services KMS key identifier for encrypting messages in the database activity stream.ActivityStreamMode
mode()
Specifies the mode of the database activity stream.String
modeAsString()
Specifies the mode of the database activity stream.String
resourceArn()
The Amazon Resource Name (ARN) of the DB cluster, for example,arn:aws:rds:us-east-1:12345667890:cluster:das-cluster
.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends StartActivityStreamRequest.Builder>
serializableBuilderClass()
StartActivityStreamRequest.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
resourceArn
public final String resourceArn()
The Amazon Resource Name (ARN) of the DB cluster, for example,
arn:aws:rds:us-east-1:12345667890:cluster:das-cluster
.- Returns:
- The Amazon Resource Name (ARN) of the DB cluster, for example,
arn:aws:rds:us-east-1:12345667890:cluster:das-cluster
.
-
mode
public final 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.
If the service returns an enum value that is not available in the current SDK version,
mode
will returnActivityStreamMode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frommodeAsString()
.- Returns:
- 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.
- See Also:
ActivityStreamMode
-
modeAsString
public final String modeAsString()
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.
If the service returns an enum value that is not available in the current SDK version,
mode
will returnActivityStreamMode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frommodeAsString()
.- Returns:
- 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.
- See Also:
ActivityStreamMode
-
kmsKeyId
public final 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.
- Returns:
- 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.
-
applyImmediately
public final 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.
- Returns:
- Specifies whether or not the database activity stream is to start as soon as possible, regardless of the maintenance window for the database.
-
engineNativeAuditFieldsIncluded
public final 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.
- Returns:
- 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.
-
toBuilder
public StartActivityStreamRequest.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<StartActivityStreamRequest.Builder,StartActivityStreamRequest>
- Specified by:
toBuilder
in classRdsRequest
-
builder
public static StartActivityStreamRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends StartActivityStreamRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCode
in classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equals
in classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForField
in classSdkRequest
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-