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