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