Class CfnSpotFleetPropsMixin.IamInstanceProfileSpecificationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnSpotFleetPropsMixin.IamInstanceProfileSpecificationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSpotFleetPropsMixin.IamInstanceProfileSpecificationProperty>
- Enclosing interface:
CfnSpotFleetPropsMixin.IamInstanceProfileSpecificationProperty
@Stability(Stable)
public static final class CfnSpotFleetPropsMixin.IamInstanceProfileSpecificationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnSpotFleetPropsMixin.IamInstanceProfileSpecificationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnSpotFleetPropsMixin.IamInstanceProfileSpecificationProperty.getArn()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
arn
@Stability(Stable) public CfnSpotFleetPropsMixin.IamInstanceProfileSpecificationProperty.Builder arn(String arn) Sets the value ofCfnSpotFleetPropsMixin.IamInstanceProfileSpecificationProperty.getArn()- Parameters:
arn- The Amazon Resource Name (ARN) of the instance profile.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSpotFleetPropsMixin.IamInstanceProfileSpecificationProperty>- Returns:
- a new instance of
CfnSpotFleetPropsMixin.IamInstanceProfileSpecificationProperty - Throws:
NullPointerException- if any required attribute was not provided
-