Class DeleteStreamRequest

All Implemented Interfaces:
SdkPojo, ToCopyableBuilder<DeleteStreamRequest.Builder,DeleteStreamRequest>

@Generated("software.amazon.awssdk:codegen") public final class DeleteStreamRequest extends KinesisVideoRequest implements ToCopyableBuilder<DeleteStreamRequest.Builder,DeleteStreamRequest>
  • Method Details

    • streamARN

      public final String streamARN()

      The Amazon Resource Name (ARN) of the stream that you want to delete.

      Returns:
      The Amazon Resource Name (ARN) of the stream that you want to delete.
    • currentVersion

      public final String currentVersion()

      Optional: The version of the stream that you want to delete.

      Specify the version as a safeguard to ensure that your are deleting the correct stream. To get the stream version, use the DescribeStream API.

      If not specified, only the CreationTime is checked before deleting the stream.

      Returns:
      Optional: The version of the stream that you want to delete.

      Specify the version as a safeguard to ensure that your are deleting the correct stream. To get the stream version, use the DescribeStream API.

      If not specified, only the CreationTime is checked before deleting the stream.

    • toBuilder

      public DeleteStreamRequest.Builder toBuilder()
      Specified by:
      toBuilder in interface ToCopyableBuilder<DeleteStreamRequest.Builder,DeleteStreamRequest>
      Specified by:
      toBuilder in class KinesisVideoRequest
    • builder

      public static DeleteStreamRequest.Builder builder()
    • serializableBuilderClass

      public static Class<? extends DeleteStreamRequest.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