public static final class CfnLaunchTemplate.IamInstanceProfileProperty.Builder
extends java.lang.Object
CfnLaunchTemplate.IamInstanceProfileProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnLaunchTemplate.IamInstanceProfileProperty.Builder |
arn(java.lang.String arn)
Sets the value of
CfnLaunchTemplate.IamInstanceProfileProperty.getArn() |
CfnLaunchTemplate.IamInstanceProfileProperty |
build()
Builds the configured instance.
|
CfnLaunchTemplate.IamInstanceProfileProperty.Builder |
name(java.lang.String name)
Sets the value of
CfnLaunchTemplate.IamInstanceProfileProperty.getName() |
public CfnLaunchTemplate.IamInstanceProfileProperty.Builder arn(java.lang.String arn)
CfnLaunchTemplate.IamInstanceProfileProperty.getArn()
arn
- The Amazon Resource Name (ARN) of the instance profile.this
public CfnLaunchTemplate.IamInstanceProfileProperty.Builder name(java.lang.String name)
CfnLaunchTemplate.IamInstanceProfileProperty.getName()
name
- The name of the instance profile.this
public CfnLaunchTemplate.IamInstanceProfileProperty build()
CfnLaunchTemplate.IamInstanceProfileProperty
java.lang.NullPointerException
- if any required attribute was not provided