Interface ServerLaunchConfiguration.Builder

    • Method Detail

      • server

        ServerLaunchConfiguration.Builder server​(Server server)

        The ID of the server with which the launch configuration is associated.

        Parameters:
        server - The ID of the server with which the launch configuration is associated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • logicalId

        ServerLaunchConfiguration.Builder logicalId​(String logicalId)

        The logical ID of the server in the CloudFormation template.

        Parameters:
        logicalId - The logical ID of the server in the CloudFormation template.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • vpc

        ServerLaunchConfiguration.Builder vpc​(String vpc)

        The ID of the VPC into which the server should be launched.

        Parameters:
        vpc - The ID of the VPC into which the server should be launched.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subnet

        ServerLaunchConfiguration.Builder subnet​(String subnet)

        The ID of the subnet the server should be launched into.

        Parameters:
        subnet - The ID of the subnet the server should be launched into.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • securityGroup

        ServerLaunchConfiguration.Builder securityGroup​(String securityGroup)

        The ID of the security group that applies to the launched server.

        Parameters:
        securityGroup - The ID of the security group that applies to the launched server.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ec2KeyName

        ServerLaunchConfiguration.Builder ec2KeyName​(String ec2KeyName)

        The name of the Amazon EC2 SSH key to be used for connecting to the launched server.

        Parameters:
        ec2KeyName - The name of the Amazon EC2 SSH key to be used for connecting to the launched server.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • userData

        ServerLaunchConfiguration.Builder userData​(UserData userData)

        Location of the user-data script to be executed when launching the server.

        Parameters:
        userData - Location of the user-data script to be executed when launching the server.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • instanceType

        ServerLaunchConfiguration.Builder instanceType​(String instanceType)

        The instance type to use when launching the server.

        Parameters:
        instanceType - The instance type to use when launching the server.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • associatePublicIpAddress

        ServerLaunchConfiguration.Builder associatePublicIpAddress​(Boolean associatePublicIpAddress)

        Indicates whether a publicly accessible IP address is created when launching the server.

        Parameters:
        associatePublicIpAddress - Indicates whether a publicly accessible IP address is created when launching the server.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • iamInstanceProfileName

        ServerLaunchConfiguration.Builder iamInstanceProfileName​(String iamInstanceProfileName)

        The name of the IAM instance profile.

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

        ServerLaunchConfiguration.Builder configureScript​(S3Location configureScript)
        Sets the value of the ConfigureScript property for this object.
        Parameters:
        configureScript - The new value for the ConfigureScript property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • configureScriptType

        ServerLaunchConfiguration.Builder configureScriptType​(String configureScriptType)

        The type of configuration script.

        Parameters:
        configureScriptType - The type of configuration script.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ScriptType, ScriptType
      • configureScriptType

        ServerLaunchConfiguration.Builder configureScriptType​(ScriptType configureScriptType)

        The type of configuration script.

        Parameters:
        configureScriptType - The type of configuration script.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        ScriptType, ScriptType