Interface UpdateInfrastructureConfigurationRequest.Builder

    • Method Detail

      • infrastructureConfigurationArn

        UpdateInfrastructureConfigurationRequest.Builder infrastructureConfigurationArn​(String infrastructureConfigurationArn)

        The Amazon Resource Name (ARN) of the infrastructure configuration that you want to update.

        Parameters:
        infrastructureConfigurationArn - The Amazon Resource Name (ARN) of the infrastructure configuration that you want to update.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        UpdateInfrastructureConfigurationRequest.Builder description​(String description)

        The description of the infrastructure configuration.

        Parameters:
        description - The description of the infrastructure configuration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instanceTypes

        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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instanceTypes

        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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instanceProfileName

        UpdateInfrastructureConfigurationRequest.Builder instanceProfileName​(String instanceProfileName)

        The instance profile to associate with the instance used to customize your Amazon EC2 AMI.

        Parameters:
        instanceProfileName - The instance profile to associate with the instance used to customize your Amazon EC2 AMI.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • securityGroupIds

        UpdateInfrastructureConfigurationRequest.Builder securityGroupIds​(Collection<String> securityGroupIds)

        The security group IDs to associate with the instance used to customize your Amazon EC2 AMI.

        Parameters:
        securityGroupIds - The security group IDs to associate with the instance used to customize your Amazon EC2 AMI.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • securityGroupIds

        UpdateInfrastructureConfigurationRequest.Builder securityGroupIds​(String... securityGroupIds)

        The security group IDs to associate with the instance used to customize your Amazon EC2 AMI.

        Parameters:
        securityGroupIds - The security group IDs to associate with the instance used to customize your Amazon EC2 AMI.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subnetId

        UpdateInfrastructureConfigurationRequest.Builder subnetId​(String subnetId)

        The subnet ID to place the instance used to customize your Amazon EC2 AMI in.

        Parameters:
        subnetId - The subnet ID to place the instance used to customize your Amazon EC2 AMI in.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • logging

        UpdateInfrastructureConfigurationRequest.Builder logging​(Logging logging)

        The logging configuration of the infrastructure configuration.

        Parameters:
        logging - The logging configuration of the infrastructure configuration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • keyPair

        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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • terminateInstanceOnFailure

        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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • snsTopicArn

        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.

        Parameters:
        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.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clientToken

        UpdateInfrastructureConfigurationRequest.Builder clientToken​(String clientToken)

        Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.

        Parameters:
        clientToken - Unique, case-sensitive identifier you provide to ensure idempotency of the request. For more information, see Ensuring idempotency in the Amazon EC2 API Reference.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceTags

        UpdateInfrastructureConfigurationRequest.Builder resourceTags​(Map<String,​String> resourceTags)

        The tags attached to the resource created by Image Builder.

        Parameters:
        resourceTags - The tags attached to the resource created by Image Builder.
        Returns:
        Returns a reference to this object so that method calls can be chained together.