Class SourceException.BuilderImpl

java.lang.Object
software.amazon.awssdk.services.dynamodb.streams.endpoints.internal.SourceException.BuilderImpl
All Implemented Interfaces:
SdkException.Builder, Buildable
Enclosing class:
SourceException

public static class SourceException.BuilderImpl extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates a new SdkException with the specified properties.
    software.amazon.awssdk.services.dynamodb.streams.endpoints.internal.SourceException.Builder
    Specifies the exception that caused this exception to occur.
    software.amazon.awssdk.services.dynamodb.streams.endpoints.internal.SourceException.Builder
    message(String message)
    Specifies the details of this exception.
    software.amazon.awssdk.services.dynamodb.streams.endpoints.internal.SourceException.Builder
    writableStackTrace(Boolean writableStackTrace)
    Specifies whether the stack trace in this exception can be written.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface software.amazon.awssdk.core.exception.SdkException.Builder

    cause, message, writableStackTrace
  • Constructor Details

    • BuilderImpl

      public BuilderImpl()
  • Method Details

    • cause

      public software.amazon.awssdk.services.dynamodb.streams.endpoints.internal.SourceException.Builder cause(Throwable cause)
      Description copied from interface: SdkException.Builder
      Specifies the exception that caused this exception to occur.
      Specified by:
      cause in interface SdkException.Builder
      Parameters:
      cause - The exception that caused this exception to occur.
      Returns:
      This object for method chaining.
    • message

      public software.amazon.awssdk.services.dynamodb.streams.endpoints.internal.SourceException.Builder message(String message)
      Description copied from interface: SdkException.Builder
      Specifies the details of this exception.
      Specified by:
      message in interface SdkException.Builder
      Parameters:
      message - The details of this exception.
      Returns:
      This method for object chaining
    • writableStackTrace

      public software.amazon.awssdk.services.dynamodb.streams.endpoints.internal.SourceException.Builder writableStackTrace(Boolean writableStackTrace)
      Description copied from interface: SdkException.Builder
      Specifies whether the stack trace in this exception can be written.
      Specified by:
      writableStackTrace in interface SdkException.Builder
      Parameters:
      writableStackTrace - Whether the stack trace can be written.
      Returns:
      This method for object chaining
    • build

      public SourceException build()
      Description copied from interface: SdkException.Builder
      Creates a new SdkException with the specified properties.
      Specified by:
      build in interface Buildable
      Specified by:
      build in interface SdkException.Builder
      Returns:
      The new SdkException.