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