public static interface UpdateInfrastructureConfigurationRequest.Builder extends ImagebuilderRequest.Builder, SdkPojo, CopyableBuilder<UpdateInfrastructureConfigurationRequest.Builder,UpdateInfrastructureConfigurationRequest>
Modifier and Type | Method and Description |
---|---|
UpdateInfrastructureConfigurationRequest.Builder |
clientToken(String clientToken)
The idempotency token used to make this request idempotent.
|
UpdateInfrastructureConfigurationRequest.Builder |
description(String description)
The description of the infrastructure configuration.
|
UpdateInfrastructureConfigurationRequest.Builder |
infrastructureConfigurationArn(String infrastructureConfigurationArn)
The Amazon Resource Name (ARN) of the infrastructure configuration that you want to update.
|
UpdateInfrastructureConfigurationRequest.Builder |
instanceProfileName(String instanceProfileName)
The instance profile to associate with the instance used to customize your EC2 AMI.
|
UpdateInfrastructureConfigurationRequest.Builder |
instanceTypes(Collection<String> instanceTypes)
The instance types of the infrastructure configuration.
|
UpdateInfrastructureConfigurationRequest.Builder |
instanceTypes(String... instanceTypes)
The instance types of the infrastructure configuration.
|
UpdateInfrastructureConfigurationRequest.Builder |
keyPair(String keyPair)
The key pair of the infrastructure configuration.
|
default UpdateInfrastructureConfigurationRequest.Builder |
logging(Consumer<Logging.Builder> logging)
The logging configuration of the infrastructure configuration.
|
UpdateInfrastructureConfigurationRequest.Builder |
logging(Logging logging)
The logging configuration of the infrastructure configuration.
|
UpdateInfrastructureConfigurationRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdateInfrastructureConfigurationRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
UpdateInfrastructureConfigurationRequest.Builder |
resourceTags(Map<String,String> resourceTags)
The tags attached to the resource created by Image Builder.
|
UpdateInfrastructureConfigurationRequest.Builder |
securityGroupIds(Collection<String> securityGroupIds)
The security group IDs to associate with the instance used to customize your EC2 AMI.
|
UpdateInfrastructureConfigurationRequest.Builder |
securityGroupIds(String... securityGroupIds)
The security group IDs to associate with the instance used to customize your EC2 AMI.
|
UpdateInfrastructureConfigurationRequest.Builder |
snsTopicArn(String snsTopicArn)
The SNS topic on which to send image build events.
|
UpdateInfrastructureConfigurationRequest.Builder |
subnetId(String subnetId)
The subnet ID to place the instance used to customize your EC2 AMI in.
|
UpdateInfrastructureConfigurationRequest.Builder |
terminateInstanceOnFailure(Boolean terminateInstanceOnFailure)
The terminate instance on failure setting of the infrastructure configuration.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
UpdateInfrastructureConfigurationRequest.Builder infrastructureConfigurationArn(String infrastructureConfigurationArn)
The Amazon Resource Name (ARN) of the infrastructure configuration that you want to update.
infrastructureConfigurationArn
- The Amazon Resource Name (ARN) of the infrastructure configuration that you want to update.UpdateInfrastructureConfigurationRequest.Builder description(String description)
The description of the infrastructure configuration.
description
- The description of the infrastructure configuration.UpdateInfrastructureConfigurationRequest.Builder instanceTypes(Collection<String> instanceTypes)
The instance types of the infrastructure configuration. You can specify one or more instance types to use for this build. The service will pick one of these instance types based on availability.
instanceTypes
- The instance types of the infrastructure configuration. You can specify one or more instance types to
use for this build. The service will pick one of these instance types based on availability.UpdateInfrastructureConfigurationRequest.Builder instanceTypes(String... instanceTypes)
The instance types of the infrastructure configuration. You can specify one or more instance types to use for this build. The service will pick one of these instance types based on availability.
instanceTypes
- The instance types of the infrastructure configuration. You can specify one or more instance types to
use for this build. The service will pick one of these instance types based on availability.UpdateInfrastructureConfigurationRequest.Builder instanceProfileName(String instanceProfileName)
The instance profile to associate with the instance used to customize your EC2 AMI.
instanceProfileName
- The instance profile to associate with the instance used to customize your EC2 AMI.UpdateInfrastructureConfigurationRequest.Builder securityGroupIds(Collection<String> securityGroupIds)
The security group IDs to associate with the instance used to customize your EC2 AMI.
securityGroupIds
- The security group IDs to associate with the instance used to customize your EC2 AMI.UpdateInfrastructureConfigurationRequest.Builder securityGroupIds(String... securityGroupIds)
The security group IDs to associate with the instance used to customize your EC2 AMI.
securityGroupIds
- The security group IDs to associate with the instance used to customize your EC2 AMI.UpdateInfrastructureConfigurationRequest.Builder subnetId(String subnetId)
The subnet ID to place the instance used to customize your EC2 AMI in.
subnetId
- The subnet ID to place the instance used to customize your EC2 AMI in.UpdateInfrastructureConfigurationRequest.Builder logging(Logging logging)
The logging configuration of the infrastructure configuration.
logging
- The logging configuration of the infrastructure configuration.default UpdateInfrastructureConfigurationRequest.Builder logging(Consumer<Logging.Builder> logging)
The logging configuration of the infrastructure configuration.
This is a convenience 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.Builder
logging(Logging)
UpdateInfrastructureConfigurationRequest.Builder keyPair(String keyPair)
The key pair of the infrastructure configuration. This can be used to log on to and debug the instance used to create your image.
keyPair
- The key pair of the infrastructure configuration. This can be used to log on to and debug the instance
used to create your image.UpdateInfrastructureConfigurationRequest.Builder terminateInstanceOnFailure(Boolean terminateInstanceOnFailure)
The terminate instance on failure setting of the infrastructure configuration. Set to false if you want Image Builder to retain the instance used to configure your AMI if the build or test phase of your workflow fails.
terminateInstanceOnFailure
- The terminate instance on failure setting of the infrastructure configuration. Set to false if you
want Image Builder to retain the instance used to configure your AMI if the build or test phase of
your workflow fails.UpdateInfrastructureConfigurationRequest.Builder snsTopicArn(String snsTopicArn)
The SNS topic on which to send image build events.
snsTopicArn
- The SNS topic on which to send image build events.UpdateInfrastructureConfigurationRequest.Builder clientToken(String clientToken)
The idempotency token used to make this request idempotent.
clientToken
- The idempotency token used to make this request idempotent.UpdateInfrastructureConfigurationRequest.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.UpdateInfrastructureConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdateInfrastructureConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.