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