Class 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>
  • Method Details

    • 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 return ActivityStreamMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from modeAsString().

      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:
    • 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 return ActivityStreamMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from modeAsString().

      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:
    • 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

      Specified by:
      toBuilder in interface ToCopyableBuilder<StartActivityStreamRequest.Builder,StartActivityStreamRequest>
      Specified by:
      toBuilder in class RdsRequest
    • builder

      public static StartActivityStreamRequest.Builder builder()
    • serializableBuilderClass

      public static Class<? extends StartActivityStreamRequest.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class AwsRequest
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class AwsRequest
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
      Overrides:
      getValueForField in class SdkRequest
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo