Interface AwsEc2InstanceDetails.Builder

    • Method Detail

      • type

        AwsEc2InstanceDetails.Builder type​(String type)

        The instance type of the instance.

        Parameters:
        type - The instance type of the instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • imageId

        AwsEc2InstanceDetails.Builder imageId​(String imageId)

        The Amazon Machine Image (AMI) ID of the instance.

        Parameters:
        imageId - The Amazon Machine Image (AMI) ID of the instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ipV4Addresses

        AwsEc2InstanceDetails.Builder ipV4Addresses​(Collection<String> ipV4Addresses)

        The IPv4 addresses associated with the instance.

        Parameters:
        ipV4Addresses - The IPv4 addresses associated with the instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ipV4Addresses

        AwsEc2InstanceDetails.Builder ipV4Addresses​(String... ipV4Addresses)

        The IPv4 addresses associated with the instance.

        Parameters:
        ipV4Addresses - The IPv4 addresses associated with the instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ipV6Addresses

        AwsEc2InstanceDetails.Builder ipV6Addresses​(Collection<String> ipV6Addresses)

        The IPv6 addresses associated with the instance.

        Parameters:
        ipV6Addresses - The IPv6 addresses associated with the instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ipV6Addresses

        AwsEc2InstanceDetails.Builder ipV6Addresses​(String... ipV6Addresses)

        The IPv6 addresses associated with the instance.

        Parameters:
        ipV6Addresses - The IPv6 addresses associated with the instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • keyName

        AwsEc2InstanceDetails.Builder keyName​(String keyName)

        The key name associated with the instance.

        Parameters:
        keyName - The key name associated with the instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • iamInstanceProfileArn

        AwsEc2InstanceDetails.Builder iamInstanceProfileArn​(String iamInstanceProfileArn)

        The IAM profile ARN of the instance.

        Parameters:
        iamInstanceProfileArn - The IAM profile ARN of the instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • vpcId

        AwsEc2InstanceDetails.Builder vpcId​(String vpcId)

        The identifier of the VPC that the instance was launched in.

        Parameters:
        vpcId - The identifier of the VPC that the instance was launched in.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subnetId

        AwsEc2InstanceDetails.Builder subnetId​(String subnetId)

        The identifier of the subnet that the instance was launched in.

        Parameters:
        subnetId - The identifier of the subnet that the instance was launched in.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • launchedAt

        AwsEc2InstanceDetails.Builder launchedAt​(String launchedAt)

        Indicates when the instance was launched.

        This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:

        • YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z)

        • YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z)

        • YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59)

        • YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759)

        • YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59)

        Parameters:
        launchedAt - Indicates when the instance was launched.

        This field accepts only the specified formats. Timestamps can end with Z or ("+" / "-") time-hour [":" time-minute]. The time-secfrac after seconds is limited to a maximum of 9 digits. The offset is bounded by +/-18:00. Here are valid timestamp formats with examples:

        • YYYY-MM-DDTHH:MM:SSZ (for example, 2019-01-31T23:00:00Z)

        • YYYY-MM-DDTHH:MM:SS.mmmmmmmmmZ (for example, 2019-01-31T23:00:00.123456789Z)

        • YYYY-MM-DDTHH:MM:SS+HH:MM (for example, 2024-01-04T15:25:10+17:59)

        • YYYY-MM-DDTHH:MM:SS-HHMM (for example, 2024-01-04T15:25:10-1759)

        • YYYY-MM-DDTHH:MM:SS.mmmmmmmmm+HH:MM (for example, 2024-01-04T15:25:10.123456789+17:59)

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

        AwsEc2InstanceDetails.Builder networkInterfaces​(Collection<AwsEc2InstanceNetworkInterfacesDetails> networkInterfaces)

        The identifiers of the network interfaces for the EC2 instance. The details for each network interface are in a corresponding AwsEc2NetworkInterfacesDetails object.

        Parameters:
        networkInterfaces - The identifiers of the network interfaces for the EC2 instance. The details for each network interface are in a corresponding AwsEc2NetworkInterfacesDetails object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • networkInterfaces

        AwsEc2InstanceDetails.Builder networkInterfaces​(AwsEc2InstanceNetworkInterfacesDetails... networkInterfaces)

        The identifiers of the network interfaces for the EC2 instance. The details for each network interface are in a corresponding AwsEc2NetworkInterfacesDetails object.

        Parameters:
        networkInterfaces - The identifiers of the network interfaces for the EC2 instance. The details for each network interface are in a corresponding AwsEc2NetworkInterfacesDetails object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • virtualizationType

        AwsEc2InstanceDetails.Builder virtualizationType​(String virtualizationType)

        The virtualization type of the Amazon Machine Image (AMI) required to launch the instance.

        Parameters:
        virtualizationType - The virtualization type of the Amazon Machine Image (AMI) required to launch the instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • metadataOptions

        AwsEc2InstanceDetails.Builder metadataOptions​(AwsEc2InstanceMetadataOptions metadataOptions)

        Details about the metadata options for the Amazon EC2 instance.

        Parameters:
        metadataOptions - Details about the metadata options for the Amazon EC2 instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • monitoring

        AwsEc2InstanceDetails.Builder monitoring​(AwsEc2InstanceMonitoringDetails monitoring)

        Describes the type of monitoring that’s turned on for an instance.

        Parameters:
        monitoring - Describes the type of monitoring that’s turned on for an instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.