Class ScheduledInstancesNetworkInterface

    • Constructor Detail

      • ScheduledInstancesNetworkInterface

        public ScheduledInstancesNetworkInterface()
    • Method Detail

      • setNetworkInterfaceId

        public void setNetworkInterfaceId​(String networkInterfaceId)

        The ID of the network interface.

        Parameters:
        networkInterfaceId - The ID of the network interface.
      • getNetworkInterfaceId

        public String getNetworkInterfaceId()

        The ID of the network interface.

        Returns:
        The ID of the network interface.
      • withNetworkInterfaceId

        public ScheduledInstancesNetworkInterface withNetworkInterfaceId​(String networkInterfaceId)

        The ID of the network interface.

        Parameters:
        networkInterfaceId - The ID of the network interface.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDeviceIndex

        public void setDeviceIndex​(Integer deviceIndex)

        The index of the device for the network interface attachment.

        Parameters:
        deviceIndex - The index of the device for the network interface attachment.
      • getDeviceIndex

        public Integer getDeviceIndex()

        The index of the device for the network interface attachment.

        Returns:
        The index of the device for the network interface attachment.
      • withDeviceIndex

        public ScheduledInstancesNetworkInterface withDeviceIndex​(Integer deviceIndex)

        The index of the device for the network interface attachment.

        Parameters:
        deviceIndex - The index of the device for the network interface attachment.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSubnetId

        public void setSubnetId​(String subnetId)

        The ID of the subnet.

        Parameters:
        subnetId - The ID of the subnet.
      • getSubnetId

        public String getSubnetId()

        The ID of the subnet.

        Returns:
        The ID of the subnet.
      • withSubnetId

        public ScheduledInstancesNetworkInterface withSubnetId​(String subnetId)

        The ID of the subnet.

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

        public void setDescription​(String description)

        The description.

        Parameters:
        description - The description.
      • getDescription

        public String getDescription()

        The description.

        Returns:
        The description.
      • withDescription

        public ScheduledInstancesNetworkInterface withDescription​(String description)

        The description.

        Parameters:
        description - The description.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setPrivateIpAddress

        public void setPrivateIpAddress​(String privateIpAddress)

        The IP address of the network interface within the subnet.

        Parameters:
        privateIpAddress - The IP address of the network interface within the subnet.
      • getPrivateIpAddress

        public String getPrivateIpAddress()

        The IP address of the network interface within the subnet.

        Returns:
        The IP address of the network interface within the subnet.
      • withPrivateIpAddress

        public ScheduledInstancesNetworkInterface withPrivateIpAddress​(String privateIpAddress)

        The IP address of the network interface within the subnet.

        Parameters:
        privateIpAddress - The IP address of the network interface within the subnet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSecondaryPrivateIpAddressCount

        public void setSecondaryPrivateIpAddressCount​(Integer secondaryPrivateIpAddressCount)

        The number of secondary private IP addresses.

        Parameters:
        secondaryPrivateIpAddressCount - The number of secondary private IP addresses.
      • getSecondaryPrivateIpAddressCount

        public Integer getSecondaryPrivateIpAddressCount()

        The number of secondary private IP addresses.

        Returns:
        The number of secondary private IP addresses.
      • withSecondaryPrivateIpAddressCount

        public ScheduledInstancesNetworkInterface withSecondaryPrivateIpAddressCount​(Integer secondaryPrivateIpAddressCount)

        The number of secondary private IP addresses.

        Parameters:
        secondaryPrivateIpAddressCount - The number of secondary private IP addresses.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setAssociatePublicIpAddress

        public void setAssociatePublicIpAddress​(Boolean associatePublicIpAddress)

        Indicates whether to assign a public IP address to instances launched in a VPC. The public IP address can only be assigned to a network interface for eth0, and can only be assigned to a new network interface, not an existing one. You cannot specify more than one network interface in the request. If launching into a default subnet, the default value is true.

        Parameters:
        associatePublicIpAddress - Indicates whether to assign a public IP address to instances launched in a VPC. The public IP address can only be assigned to a network interface for eth0, and can only be assigned to a new network interface, not an existing one. You cannot specify more than one network interface in the request. If launching into a default subnet, the default value is true.
      • getAssociatePublicIpAddress

        public Boolean getAssociatePublicIpAddress()

        Indicates whether to assign a public IP address to instances launched in a VPC. The public IP address can only be assigned to a network interface for eth0, and can only be assigned to a new network interface, not an existing one. You cannot specify more than one network interface in the request. If launching into a default subnet, the default value is true.

        Returns:
        Indicates whether to assign a public IP address to instances launched in a VPC. The public IP address can only be assigned to a network interface for eth0, and can only be assigned to a new network interface, not an existing one. You cannot specify more than one network interface in the request. If launching into a default subnet, the default value is true.
      • withAssociatePublicIpAddress

        public ScheduledInstancesNetworkInterface withAssociatePublicIpAddress​(Boolean associatePublicIpAddress)

        Indicates whether to assign a public IP address to instances launched in a VPC. The public IP address can only be assigned to a network interface for eth0, and can only be assigned to a new network interface, not an existing one. You cannot specify more than one network interface in the request. If launching into a default subnet, the default value is true.

        Parameters:
        associatePublicIpAddress - Indicates whether to assign a public IP address to instances launched in a VPC. The public IP address can only be assigned to a network interface for eth0, and can only be assigned to a new network interface, not an existing one. You cannot specify more than one network interface in the request. If launching into a default subnet, the default value is true.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isAssociatePublicIpAddress

        public Boolean isAssociatePublicIpAddress()

        Indicates whether to assign a public IP address to instances launched in a VPC. The public IP address can only be assigned to a network interface for eth0, and can only be assigned to a new network interface, not an existing one. You cannot specify more than one network interface in the request. If launching into a default subnet, the default value is true.

        Returns:
        Indicates whether to assign a public IP address to instances launched in a VPC. The public IP address can only be assigned to a network interface for eth0, and can only be assigned to a new network interface, not an existing one. You cannot specify more than one network interface in the request. If launching into a default subnet, the default value is true.
      • getGroups

        public List<String> getGroups()

        The IDs of one or more security groups.

        Returns:
        The IDs of one or more security groups.
      • setGroups

        public void setGroups​(Collection<String> groups)

        The IDs of one or more security groups.

        Parameters:
        groups - The IDs of one or more security groups.
      • withGroups

        public ScheduledInstancesNetworkInterface withGroups​(Collection<String> groups)

        The IDs of one or more security groups.

        Parameters:
        groups - The IDs of one or more security groups.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDeleteOnTermination

        public void setDeleteOnTermination​(Boolean deleteOnTermination)

        Indicates whether to delete the interface when the instance is terminated.

        Parameters:
        deleteOnTermination - Indicates whether to delete the interface when the instance is terminated.
      • getDeleteOnTermination

        public Boolean getDeleteOnTermination()

        Indicates whether to delete the interface when the instance is terminated.

        Returns:
        Indicates whether to delete the interface when the instance is terminated.
      • withDeleteOnTermination

        public ScheduledInstancesNetworkInterface withDeleteOnTermination​(Boolean deleteOnTermination)

        Indicates whether to delete the interface when the instance is terminated.

        Parameters:
        deleteOnTermination - Indicates whether to delete the interface when the instance is terminated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isDeleteOnTermination

        public Boolean isDeleteOnTermination()

        Indicates whether to delete the interface when the instance is terminated.

        Returns:
        Indicates whether to delete the interface when the instance is terminated.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object