Class VideoSource

    • Method Detail

      • bytes

        public final SdkBytes bytes()

        Video content encoded in base64.

        Returns:
        Video content encoded in base64.
      • s3Location

        public final S3Location s3Location()

        The location of a video object in an S3 bucket.

        Returns:
        The location of a video object in an S3 bucket.
      • hashCode

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

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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)
      • fromBytes

        public static VideoSource fromBytes​(SdkBytes bytes)
        Create an instance of this class with bytes() initialized to the given value.

        Video content encoded in base64.

        Parameters:
        bytes - Video content encoded in base64.
      • fromS3Location

        public static VideoSource fromS3Location​(S3Location s3Location)
        Create an instance of this class with s3Location() initialized to the given value.

        The location of a video object in an S3 bucket.

        Parameters:
        s3Location - The location of a video object in an S3 bucket.
      • fromS3Location

        public static VideoSource fromS3Location​(Consumer<S3Location.Builder> s3Location)
        Create an instance of this class with s3Location() initialized to the given value.

        The location of a video object in an S3 bucket.

        Parameters:
        s3Location - The location of a video object in an S3 bucket.