Class ImportInstanceLaunchSpecification

    • Constructor Detail

      • ImportInstanceLaunchSpecification

        public ImportInstanceLaunchSpecification()
    • Method Detail

      • setArchitecture

        public void setArchitecture​(String architecture)

        The architecture of the instance.

        Parameters:
        architecture - The architecture of the instance.
        See Also:
        ArchitectureValues
      • getArchitecture

        public String getArchitecture()

        The architecture of the instance.

        Returns:
        The architecture of the instance.
        See Also:
        ArchitectureValues
      • withArchitecture

        public ImportInstanceLaunchSpecification withArchitecture​(String architecture)

        The architecture of the instance.

        Parameters:
        architecture - The architecture of the instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ArchitectureValues
      • setArchitecture

        public void setArchitecture​(ArchitectureValues architecture)

        The architecture of the instance.

        Parameters:
        architecture - The architecture of the instance.
        See Also:
        ArchitectureValues
      • getGroupNames

        public List<String> getGroupNames()

        One or more security group names.

        Returns:
        One or more security group names.
      • setGroupNames

        public void setGroupNames​(Collection<String> groupNames)

        One or more security group names.

        Parameters:
        groupNames - One or more security group names.
      • withGroupNames

        public ImportInstanceLaunchSpecification withGroupNames​(Collection<String> groupNames)

        One or more security group names.

        Parameters:
        groupNames - One or more security group names.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • getGroupIds

        public List<String> getGroupIds()

        One or more security group IDs.

        Returns:
        One or more security group IDs.
      • setGroupIds

        public void setGroupIds​(Collection<String> groupIds)

        One or more security group IDs.

        Parameters:
        groupIds - One or more security group IDs.
      • withGroupIds

        public ImportInstanceLaunchSpecification withGroupIds​(Collection<String> groupIds)

        One or more security group IDs.

        Parameters:
        groupIds - One or more security group IDs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setAdditionalInfo

        public void setAdditionalInfo​(String additionalInfo)

        Reserved.

        Parameters:
        additionalInfo - Reserved.
      • getAdditionalInfo

        public String getAdditionalInfo()

        Reserved.

        Returns:
        Reserved.
      • withAdditionalInfo

        public ImportInstanceLaunchSpecification withAdditionalInfo​(String additionalInfo)

        Reserved.

        Parameters:
        additionalInfo - Reserved.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setUserData

        public void setUserData​(UserData userData)

        The Base64-encoded MIME user data to be made available to the instance.

        Parameters:
        userData - The Base64-encoded MIME user data to be made available to the instance.
      • getUserData

        public UserData getUserData()

        The Base64-encoded MIME user data to be made available to the instance.

        Returns:
        The Base64-encoded MIME user data to be made available to the instance.
      • withUserData

        public ImportInstanceLaunchSpecification withUserData​(UserData userData)

        The Base64-encoded MIME user data to be made available to the instance.

        Parameters:
        userData - The Base64-encoded MIME user data to be made available to the instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setInstanceType

        public void setInstanceType​(String instanceType)

        The instance type. For more information about the instance types that you can import, see Before You Get Started in the Amazon Elastic Compute Cloud User Guide.

        Parameters:
        instanceType - The instance type. For more information about the instance types that you can import, see Before You Get Started in the Amazon Elastic Compute Cloud User Guide.
        See Also:
        InstanceType
      • getInstanceType

        public String getInstanceType()

        The instance type. For more information about the instance types that you can import, see Before You Get Started in the Amazon Elastic Compute Cloud User Guide.

        Returns:
        The instance type. For more information about the instance types that you can import, see Before You Get Started in the Amazon Elastic Compute Cloud User Guide.
        See Also:
        InstanceType
      • withInstanceType

        public ImportInstanceLaunchSpecification withInstanceType​(String instanceType)

        The instance type. For more information about the instance types that you can import, see Before You Get Started in the Amazon Elastic Compute Cloud User Guide.

        Parameters:
        instanceType - The instance type. For more information about the instance types that you can import, see Before You Get Started in the Amazon Elastic Compute Cloud User Guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        InstanceType
      • setInstanceType

        public void setInstanceType​(InstanceType instanceType)

        The instance type. For more information about the instance types that you can import, see Before You Get Started in the Amazon Elastic Compute Cloud User Guide.

        Parameters:
        instanceType - The instance type. For more information about the instance types that you can import, see Before You Get Started in the Amazon Elastic Compute Cloud User Guide.
        See Also:
        InstanceType
      • withInstanceType

        public ImportInstanceLaunchSpecification withInstanceType​(InstanceType instanceType)

        The instance type. For more information about the instance types that you can import, see Before You Get Started in the Amazon Elastic Compute Cloud User Guide.

        Parameters:
        instanceType - The instance type. For more information about the instance types that you can import, see Before You Get Started in the Amazon Elastic Compute Cloud User Guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        InstanceType
      • setPlacement

        public void setPlacement​(Placement placement)

        The placement information for the instance.

        Parameters:
        placement - The placement information for the instance.
      • getPlacement

        public Placement getPlacement()

        The placement information for the instance.

        Returns:
        The placement information for the instance.
      • withPlacement

        public ImportInstanceLaunchSpecification withPlacement​(Placement placement)

        The placement information for the instance.

        Parameters:
        placement - The placement information for the instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setMonitoring

        public void setMonitoring​(Boolean monitoring)

        Indicates whether monitoring is enabled.

        Parameters:
        monitoring - Indicates whether monitoring is enabled.
      • getMonitoring

        public Boolean getMonitoring()

        Indicates whether monitoring is enabled.

        Returns:
        Indicates whether monitoring is enabled.
      • withMonitoring

        public ImportInstanceLaunchSpecification withMonitoring​(Boolean monitoring)

        Indicates whether monitoring is enabled.

        Parameters:
        monitoring - Indicates whether monitoring is enabled.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • isMonitoring

        public Boolean isMonitoring()

        Indicates whether monitoring is enabled.

        Returns:
        Indicates whether monitoring is enabled.
      • setSubnetId

        public void setSubnetId​(String subnetId)

        [EC2-VPC] The ID of the subnet in which to launch the instance.

        Parameters:
        subnetId - [EC2-VPC] The ID of the subnet in which to launch the instance.
      • getSubnetId

        public String getSubnetId()

        [EC2-VPC] The ID of the subnet in which to launch the instance.

        Returns:
        [EC2-VPC] The ID of the subnet in which to launch the instance.
      • withSubnetId

        public ImportInstanceLaunchSpecification withSubnetId​(String subnetId)

        [EC2-VPC] The ID of the subnet in which to launch the instance.

        Parameters:
        subnetId - [EC2-VPC] The ID of the subnet in which to launch the instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setInstanceInitiatedShutdownBehavior

        public void setInstanceInitiatedShutdownBehavior​(String instanceInitiatedShutdownBehavior)

        Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).

        Parameters:
        instanceInitiatedShutdownBehavior - Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
        See Also:
        ShutdownBehavior
      • getInstanceInitiatedShutdownBehavior

        public String getInstanceInitiatedShutdownBehavior()

        Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).

        Returns:
        Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
        See Also:
        ShutdownBehavior
      • withInstanceInitiatedShutdownBehavior

        public ImportInstanceLaunchSpecification withInstanceInitiatedShutdownBehavior​(String instanceInitiatedShutdownBehavior)

        Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).

        Parameters:
        instanceInitiatedShutdownBehavior - Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ShutdownBehavior
      • setInstanceInitiatedShutdownBehavior

        public void setInstanceInitiatedShutdownBehavior​(ShutdownBehavior instanceInitiatedShutdownBehavior)

        Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).

        Parameters:
        instanceInitiatedShutdownBehavior - Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
        See Also:
        ShutdownBehavior
      • withInstanceInitiatedShutdownBehavior

        public ImportInstanceLaunchSpecification withInstanceInitiatedShutdownBehavior​(ShutdownBehavior instanceInitiatedShutdownBehavior)

        Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).

        Parameters:
        instanceInitiatedShutdownBehavior - Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ShutdownBehavior
      • setPrivateIpAddress

        public void setPrivateIpAddress​(String privateIpAddress)

        [EC2-VPC] An available IP address from the IP address range of the subnet.

        Parameters:
        privateIpAddress - [EC2-VPC] An available IP address from the IP address range of the subnet.
      • getPrivateIpAddress

        public String getPrivateIpAddress()

        [EC2-VPC] An available IP address from the IP address range of the subnet.

        Returns:
        [EC2-VPC] An available IP address from the IP address range of the subnet.
      • withPrivateIpAddress

        public ImportInstanceLaunchSpecification withPrivateIpAddress​(String privateIpAddress)

        [EC2-VPC] An available IP address from the IP address range of the subnet.

        Parameters:
        privateIpAddress - [EC2-VPC] An available IP address from the IP address range of the subnet.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • 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