Class RotationReference.Builder
java.lang.Object
software.amazon.awscdk.services.ssmcontacts.RotationReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<RotationReference>
- Enclosing interface:
RotationReference
@Stability(Stable)
public static final class RotationReference.Builder
extends Object
implements software.amazon.jsii.Builder<RotationReference>
A builder for
RotationReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.rotationArn
(String rotationArn) Sets the value ofRotationReference.getRotationArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
rotationArn
Sets the value ofRotationReference.getRotationArn()
- Parameters:
rotationArn
- The Arn of the Rotation resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<RotationReference>
- Returns:
- a new instance of
RotationReference
- Throws:
NullPointerException
- if any required attribute was not provided
-