public static final class CfnInfrastructureConfigurationProps.Builder
extends java.lang.Object
CfnInfrastructureConfigurationProps
Constructor and Description |
---|
Builder() |
public CfnInfrastructureConfigurationProps.Builder instanceProfileName(java.lang.String instanceProfileName)
CfnInfrastructureConfigurationProps.getInstanceProfileName()
instanceProfileName
- The instance profile of the infrastructure configuration. This parameter is required.this
public CfnInfrastructureConfigurationProps.Builder name(java.lang.String name)
CfnInfrastructureConfigurationProps.getName()
name
- The name of the infrastructure configuration. This parameter is required.this
public CfnInfrastructureConfigurationProps.Builder description(java.lang.String description)
CfnInfrastructureConfigurationProps.getDescription()
description
- The description of the infrastructure configuration.this
public CfnInfrastructureConfigurationProps.Builder instanceMetadataOptions(IResolvable instanceMetadataOptions)
CfnInfrastructureConfigurationProps.getInstanceMetadataOptions()
instanceMetadataOptions
- The instance metadata option settings for the infrastructure configuration.this
public CfnInfrastructureConfigurationProps.Builder instanceMetadataOptions(CfnInfrastructureConfiguration.InstanceMetadataOptionsProperty instanceMetadataOptions)
CfnInfrastructureConfigurationProps.getInstanceMetadataOptions()
instanceMetadataOptions
- The instance metadata option settings for the infrastructure configuration.this
public CfnInfrastructureConfigurationProps.Builder instanceTypes(java.util.List<java.lang.String> instanceTypes)
CfnInfrastructureConfigurationProps.getInstanceTypes()
instanceTypes
- The instance types of the infrastructure configuration.this
public CfnInfrastructureConfigurationProps.Builder keyPair(java.lang.String keyPair)
CfnInfrastructureConfigurationProps.getKeyPair()
keyPair
- The Amazon EC2 key pair of the infrastructure configuration.this
public CfnInfrastructureConfigurationProps.Builder logging(IResolvable logging)
CfnInfrastructureConfigurationProps.getLogging()
logging
- The logging configuration defines where Image Builder uploads your logs.this
public CfnInfrastructureConfigurationProps.Builder logging(CfnInfrastructureConfiguration.LoggingProperty logging)
CfnInfrastructureConfigurationProps.getLogging()
logging
- The logging configuration defines where Image Builder uploads your logs.this
public CfnInfrastructureConfigurationProps.Builder resourceTags(IResolvable resourceTags)
CfnInfrastructureConfigurationProps.getResourceTags()
resourceTags
- The tags attached to the resource created by Image Builder.this
public CfnInfrastructureConfigurationProps.Builder resourceTags(java.util.Map<java.lang.String,java.lang.String> resourceTags)
CfnInfrastructureConfigurationProps.getResourceTags()
resourceTags
- The tags attached to the resource created by Image Builder.this
public CfnInfrastructureConfigurationProps.Builder securityGroupIds(java.util.List<java.lang.String> securityGroupIds)
CfnInfrastructureConfigurationProps.getSecurityGroupIds()
securityGroupIds
- The security group IDs of the infrastructure configuration.this
public CfnInfrastructureConfigurationProps.Builder snsTopicArn(java.lang.String snsTopicArn)
CfnInfrastructureConfigurationProps.getSnsTopicArn()
snsTopicArn
- The Amazon Resource Name (ARN) of the SNS topic for the infrastructure configuration.this
public CfnInfrastructureConfigurationProps.Builder subnetId(java.lang.String subnetId)
CfnInfrastructureConfigurationProps.getSubnetId()
subnetId
- The subnet ID of the infrastructure configuration.this
public CfnInfrastructureConfigurationProps.Builder tags(java.util.Map<java.lang.String,java.lang.String> tags)
CfnInfrastructureConfigurationProps.getTags()
tags
- The tags of the infrastructure configuration.this
public CfnInfrastructureConfigurationProps.Builder terminateInstanceOnFailure(java.lang.Boolean terminateInstanceOnFailure)
CfnInfrastructureConfigurationProps.getTerminateInstanceOnFailure()
terminateInstanceOnFailure
- The terminate instance on failure configuration of the infrastructure configuration.this
public CfnInfrastructureConfigurationProps.Builder terminateInstanceOnFailure(IResolvable terminateInstanceOnFailure)
CfnInfrastructureConfigurationProps.getTerminateInstanceOnFailure()
terminateInstanceOnFailure
- The terminate instance on failure configuration of the infrastructure configuration.this
public CfnInfrastructureConfigurationProps build()
CfnInfrastructureConfigurationProps
java.lang.NullPointerException
- if any required attribute was not provided