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