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.
|
default UpdateInfrastructureConfigurationRequest.Builder |
instanceMetadataOptions(Consumer<InstanceMetadataOptions.Builder> instanceMetadataOptions)
The instance metadata options that you can set for the HTTP requests that pipeline builds use to launch EC2
build and test instances.
|
UpdateInfrastructureConfigurationRequest.Builder |
instanceMetadataOptions(InstanceMetadataOptions instanceMetadataOptions)
The instance metadata options that you can set for the HTTP requests that pipeline builds use to launch EC2
build and test instances.
|
UpdateInfrastructureConfigurationRequest.Builder |
instanceProfileName(String instanceProfileName)
The instance profile to associate with the instance used to customize your Amazon 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) |
UpdateInfrastructureConfigurationRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
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 Amazon EC2 AMI.
|
UpdateInfrastructureConfigurationRequest.Builder |
securityGroupIds(String... securityGroupIds)
The security group IDs to associate with the instance used to customize your Amazon EC2 AMI.
|
UpdateInfrastructureConfigurationRequest.Builder |
snsTopicArn(String snsTopicArn)
The Amazon Resource Name (ARN) for the SNS topic to which we send image build event notifications.
|
UpdateInfrastructureConfigurationRequest.Builder |
subnetId(String subnetId)
The subnet ID to place the instance used to customize your Amazon EC2 AMI in.
|
UpdateInfrastructureConfigurationRequest.Builder |
terminateInstanceOnFailure(Boolean terminateInstanceOnFailure)
The terminate instance on failure setting of the infrastructure configuration.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdateInfrastructureConfigurationRequest.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 Amazon EC2 AMI.
instanceProfileName - The instance profile to associate with the instance used to customize your Amazon EC2 AMI.UpdateInfrastructureConfigurationRequest.Builder securityGroupIds(Collection<String> securityGroupIds)
The security group IDs to associate with the instance used to customize your Amazon EC2 AMI.
securityGroupIds - The security group IDs to associate with the instance used to customize your Amazon EC2 AMI.UpdateInfrastructureConfigurationRequest.Builder securityGroupIds(String... securityGroupIds)
The security group IDs to associate with the instance used to customize your Amazon EC2 AMI.
securityGroupIds - The security group IDs to associate with the instance used to customize your Amazon EC2 AMI.UpdateInfrastructureConfigurationRequest.Builder subnetId(String subnetId)
The subnet ID to place the instance used to customize your Amazon EC2 AMI in.
subnetId - The subnet ID to place the instance used to customize your Amazon 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 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)UpdateInfrastructureConfigurationRequest.Builder keyPair(String keyPair)
The key pair of the infrastructure configuration. You can use this to log on to and debug the instance used to create your image.
keyPair - The key pair of the infrastructure configuration. You can use this 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 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.
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 instanceMetadataOptions(InstanceMetadataOptions instanceMetadataOptions)
The instance metadata options that you can set for the HTTP requests that pipeline builds use to launch EC2 build and test instances. For more information about instance metadata options, see one of the following links:
Configure the instance metadata options in the Amazon EC2 User Guide for Linux instances.
Configure the instance metadata options in the Amazon EC2 Windows Guide for Windows instances.
instanceMetadataOptions - The instance metadata options that you can set for the HTTP requests that pipeline builds use to
launch EC2 build and test instances. For more information about instance metadata options, see one of
the following links:
Configure the instance metadata options in the Amazon EC2 User Guide for Linux instances.
Configure the instance metadata options in the Amazon EC2 Windows Guide for Windows instances.
default UpdateInfrastructureConfigurationRequest.Builder instanceMetadataOptions(Consumer<InstanceMetadataOptions.Builder> instanceMetadataOptions)
The instance metadata options that you can set for the HTTP requests that pipeline builds use to launch EC2 build and test instances. For more information about instance metadata options, see one of the following links:
Configure the instance metadata options in the Amazon EC2 User Guide for Linux instances.
Configure the instance metadata options in the Amazon EC2 Windows Guide for Windows instances.
InstanceMetadataOptions.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)UpdateInfrastructureConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderUpdateInfrastructureConfigurationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.