public static interface InfrastructureConfiguration.Builder extends SdkPojo, CopyableBuilder<InfrastructureConfiguration.Builder,InfrastructureConfiguration>
| Modifier and Type | Method and Description |
|---|---|
InfrastructureConfiguration.Builder |
arn(String arn)
The Amazon Resource Name (ARN) of the infrastructure configuration.
|
InfrastructureConfiguration.Builder |
dateCreated(String dateCreated)
The date on which the infrastructure configuration was created.
|
InfrastructureConfiguration.Builder |
dateUpdated(String dateUpdated)
The date on which the infrastructure configuration was last updated.
|
InfrastructureConfiguration.Builder |
description(String description)
The description of the infrastructure configuration.
|
default InfrastructureConfiguration.Builder |
instanceMetadataOptions(Consumer<InstanceMetadataOptions.Builder> instanceMetadataOptions)
The instance metadata option settings for the infrastructure configuration.
|
InfrastructureConfiguration.Builder |
instanceMetadataOptions(InstanceMetadataOptions instanceMetadataOptions)
The instance metadata option settings for the infrastructure configuration.
|
InfrastructureConfiguration.Builder |
instanceProfileName(String instanceProfileName)
The instance profile of the infrastructure configuration.
|
InfrastructureConfiguration.Builder |
instanceTypes(Collection<String> instanceTypes)
The instance types of the infrastructure configuration.
|
InfrastructureConfiguration.Builder |
instanceTypes(String... instanceTypes)
The instance types of the infrastructure configuration.
|
InfrastructureConfiguration.Builder |
keyPair(String keyPair)
The Amazon EC2 key pair of the infrastructure configuration.
|
default InfrastructureConfiguration.Builder |
logging(Consumer<Logging.Builder> logging)
The logging configuration of the infrastructure configuration.
|
InfrastructureConfiguration.Builder |
logging(Logging logging)
The logging configuration of the infrastructure configuration.
|
InfrastructureConfiguration.Builder |
name(String name)
The name of the infrastructure configuration.
|
InfrastructureConfiguration.Builder |
resourceTags(Map<String,String> resourceTags)
The tags attached to the resource created by Image Builder.
|
InfrastructureConfiguration.Builder |
securityGroupIds(Collection<String> securityGroupIds)
The security group IDs of the infrastructure configuration.
|
InfrastructureConfiguration.Builder |
securityGroupIds(String... securityGroupIds)
The security group IDs of the infrastructure configuration.
|
InfrastructureConfiguration.Builder |
snsTopicArn(String snsTopicArn)
The Amazon Resource Name (ARN) for the SNS topic to which we send image build event notifications.
|
InfrastructureConfiguration.Builder |
subnetId(String subnetId)
The subnet ID of the infrastructure configuration.
|
InfrastructureConfiguration.Builder |
tags(Map<String,String> tags)
The tags of the infrastructure configuration.
|
InfrastructureConfiguration.Builder |
terminateInstanceOnFailure(Boolean terminateInstanceOnFailure)
The terminate instance on failure configuration of the infrastructure configuration.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildInfrastructureConfiguration.Builder arn(String arn)
The Amazon Resource Name (ARN) of the infrastructure configuration.
arn - The Amazon Resource Name (ARN) of the infrastructure configuration.InfrastructureConfiguration.Builder name(String name)
The name of the infrastructure configuration.
name - The name of the infrastructure configuration.InfrastructureConfiguration.Builder description(String description)
The description of the infrastructure configuration.
description - The description of the infrastructure configuration.InfrastructureConfiguration.Builder instanceTypes(Collection<String> instanceTypes)
The instance types of the infrastructure configuration.
instanceTypes - The instance types of the infrastructure configuration.InfrastructureConfiguration.Builder instanceTypes(String... instanceTypes)
The instance types of the infrastructure configuration.
instanceTypes - The instance types of the infrastructure configuration.InfrastructureConfiguration.Builder instanceProfileName(String instanceProfileName)
The instance profile of the infrastructure configuration.
instanceProfileName - The instance profile of the infrastructure configuration.InfrastructureConfiguration.Builder securityGroupIds(Collection<String> securityGroupIds)
The security group IDs of the infrastructure configuration.
securityGroupIds - The security group IDs of the infrastructure configuration.InfrastructureConfiguration.Builder securityGroupIds(String... securityGroupIds)
The security group IDs of the infrastructure configuration.
securityGroupIds - The security group IDs of the infrastructure configuration.InfrastructureConfiguration.Builder subnetId(String subnetId)
The subnet ID of the infrastructure configuration.
subnetId - The subnet ID of the infrastructure configuration.InfrastructureConfiguration.Builder logging(Logging logging)
The logging configuration of the infrastructure configuration.
logging - The logging configuration of the infrastructure configuration.default InfrastructureConfiguration.Builder logging(Consumer<Logging.Builder> logging)
The logging configuration of the infrastructure configuration.
This is a convenience method that creates an instance of theLogging.Builder avoiding the need to
create one manually via Logging.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to logging(Logging).
logging - a consumer that will call methods on Logging.Builderlogging(Logging)InfrastructureConfiguration.Builder keyPair(String keyPair)
The Amazon EC2 key pair of the infrastructure configuration.
keyPair - The Amazon EC2 key pair of the infrastructure configuration.InfrastructureConfiguration.Builder terminateInstanceOnFailure(Boolean terminateInstanceOnFailure)
The terminate instance on failure configuration of the infrastructure configuration.
terminateInstanceOnFailure - The terminate instance on failure configuration of the infrastructure configuration.InfrastructureConfiguration.Builder snsTopicArn(String snsTopicArn)
The Amazon Resource Name (ARN) for the SNS topic to which we send image build event notifications.
EC2 Image Builder is unable to send notifications to SNS topics that are encrypted using keys from other accounts. The key that is used to encrypt the SNS topic must reside in the account that the Image Builder service runs under.
snsTopicArn - The Amazon Resource Name (ARN) for the SNS topic to which we send image build event notifications.
EC2 Image Builder is unable to send notifications to SNS topics that are encrypted using keys from other accounts. The key that is used to encrypt the SNS topic must reside in the account that the Image Builder service runs under.
InfrastructureConfiguration.Builder dateCreated(String dateCreated)
The date on which the infrastructure configuration was created.
dateCreated - The date on which the infrastructure configuration was created.InfrastructureConfiguration.Builder dateUpdated(String dateUpdated)
The date on which the infrastructure configuration was last updated.
dateUpdated - The date on which the infrastructure configuration was last updated.InfrastructureConfiguration.Builder resourceTags(Map<String,String> resourceTags)
The tags attached to the resource created by Image Builder.
resourceTags - The tags attached to the resource created by Image Builder.InfrastructureConfiguration.Builder instanceMetadataOptions(InstanceMetadataOptions instanceMetadataOptions)
The instance metadata option settings for the infrastructure configuration.
instanceMetadataOptions - The instance metadata option settings for the infrastructure configuration.default InfrastructureConfiguration.Builder instanceMetadataOptions(Consumer<InstanceMetadataOptions.Builder> instanceMetadataOptions)
The instance metadata option settings for the infrastructure configuration.
This is a convenience method that creates an instance of theInstanceMetadataOptions.Builder avoiding
the need to create one manually via InstanceMetadataOptions.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to instanceMetadataOptions(InstanceMetadataOptions).
instanceMetadataOptions - a consumer that will call methods on InstanceMetadataOptions.BuilderinstanceMetadataOptions(InstanceMetadataOptions)InfrastructureConfiguration.Builder tags(Map<String,String> tags)
The tags of the infrastructure configuration.
tags - The tags of the infrastructure configuration.Copyright © 2022. All rights reserved.