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