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.

        For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.

        Parameters:
        launchedAt - Indicates when the instance was launched.

        For more information about the validation and formatting of timestamp fields in Security Hub, see Timestamps.

        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.