Class StopProps.Builder

java.lang.Object
software.amazon.awscdk.services.ses.actions.StopProps.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<StopProps>
Enclosing interface:
StopProps

@Stability(Stable) public static final class StopProps.Builder extends Object implements software.amazon.jsii.Builder<StopProps>
A builder for StopProps
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • topic

      @Stability(Stable) public StopProps.Builder topic(ITopic topic)
      Sets the value of StopProps.getTopic()
      Parameters:
      topic - The SNS topic to notify when the stop action is taken.
      Returns:
      this
    • build

      @Stability(Stable) public StopProps build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<StopProps>
      Returns:
      a new instance of StopProps
      Throws:
      NullPointerException - if any required attribute was not provided