Interface InfrastructureConfiguration.Builder

    • Method Detail

      • arn

        InfrastructureConfiguration.Builder arn​(String arn)

        The Amazon Resource Name (ARN) of the infrastructure configuration.

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

        InfrastructureConfiguration.Builder name​(String name)

        The name of the infrastructure configuration.

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

        InfrastructureConfiguration.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

        InfrastructureConfiguration.Builder instanceTypes​(Collection<String> instanceTypes)

        The instance types of the infrastructure configuration.

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

        InfrastructureConfiguration.Builder instanceTypes​(String... instanceTypes)

        The instance types of the infrastructure configuration.

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

        InfrastructureConfiguration.Builder instanceProfileName​(String instanceProfileName)

        The instance profile of the infrastructure configuration.

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

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

        The security group IDs of the infrastructure configuration.

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

        InfrastructureConfiguration.Builder securityGroupIds​(String... securityGroupIds)

        The security group IDs of the infrastructure configuration.

        Parameters:
        securityGroupIds - The security group IDs of the infrastructure configuration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subnetId

        InfrastructureConfiguration.Builder subnetId​(String subnetId)

        The subnet ID of the infrastructure configuration.

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

        InfrastructureConfiguration.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

        InfrastructureConfiguration.Builder keyPair​(String keyPair)

        The Amazon EC2 key pair of the infrastructure configuration.

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

        InfrastructureConfiguration.Builder terminateInstanceOnFailure​(Boolean terminateInstanceOnFailure)

        The terminate instance on failure configuration of the infrastructure configuration.

        Parameters:
        terminateInstanceOnFailure - The terminate instance on failure configuration of the infrastructure configuration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • snsTopicArn

        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.

        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.
      • dateCreated

        InfrastructureConfiguration.Builder dateCreated​(String dateCreated)

        The date on which the infrastructure configuration was created.

        Parameters:
        dateCreated - The date on which the infrastructure configuration was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dateUpdated

        InfrastructureConfiguration.Builder dateUpdated​(String dateUpdated)

        The date on which the infrastructure configuration was last updated.

        Parameters:
        dateUpdated - The date on which the infrastructure configuration was last updated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceTags

        InfrastructureConfiguration.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.
      • instanceMetadataOptions

        InfrastructureConfiguration.Builder instanceMetadataOptions​(InstanceMetadataOptions instanceMetadataOptions)

        The instance metadata option settings for the infrastructure configuration.

        Parameters:
        instanceMetadataOptions - The instance metadata option settings for the infrastructure configuration.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        InfrastructureConfiguration.Builder tags​(Map<String,​String> tags)

        The tags of the infrastructure configuration.

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