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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofStopProps.getTopic()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
topic
Sets the value ofStopProps.getTopic()
- Parameters:
topic
- The SNS topic to notify when the stop action is taken.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<StopProps>
- Returns:
- a new instance of
StopProps
- Throws:
NullPointerException
- if any required attribute was not provided
-