Interface CreateLaunchTemplateVersionRequest.Builder

    • Method Detail

      • dryRun

        CreateLaunchTemplateVersionRequest.Builder dryRun​(Boolean dryRun)

        Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

        Parameters:
        dryRun - Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • clientToken

        CreateLaunchTemplateVersionRequest.Builder clientToken​(String clientToken)

        Unique, case-sensitive identifier you provide to ensure the idempotency of the request. If a client token isn't specified, a randomly generated token is used in the request to ensure idempotency.

        For more information, see Ensuring idempotency.

        Constraint: Maximum 128 ASCII characters.

        Parameters:
        clientToken - Unique, case-sensitive identifier you provide to ensure the idempotency of the request. If a client token isn't specified, a randomly generated token is used in the request to ensure idempotency.

        For more information, see Ensuring idempotency.

        Constraint: Maximum 128 ASCII characters.

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

        CreateLaunchTemplateVersionRequest.Builder launchTemplateId​(String launchTemplateId)

        The ID of the launch template.

        You must specify either the launch template ID or the launch template name, but not both.

        Parameters:
        launchTemplateId - The ID of the launch template.

        You must specify either the launch template ID or the launch template name, but not both.

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

        CreateLaunchTemplateVersionRequest.Builder launchTemplateName​(String launchTemplateName)

        The name of the launch template.

        You must specify either the launch template ID or the launch template name, but not both.

        Parameters:
        launchTemplateName - The name of the launch template.

        You must specify either the launch template ID or the launch template name, but not both.

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

        CreateLaunchTemplateVersionRequest.Builder sourceVersion​(String sourceVersion)

        The version of the launch template on which to base the new version. Snapshots applied to the block device mapping are ignored when creating a new version unless they are explicitly included.

        If you specify this parameter, the new version inherits the launch parameters from the source version. If you specify additional launch parameters for the new version, they overwrite any corresponding launch parameters inherited from the source version.

        If you omit this parameter, the new version contains only the launch parameters that you specify for the new version.

        Parameters:
        sourceVersion - The version of the launch template on which to base the new version. Snapshots applied to the block device mapping are ignored when creating a new version unless they are explicitly included.

        If you specify this parameter, the new version inherits the launch parameters from the source version. If you specify additional launch parameters for the new version, they overwrite any corresponding launch parameters inherited from the source version.

        If you omit this parameter, the new version contains only the launch parameters that you specify for the new version.

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

        CreateLaunchTemplateVersionRequest.Builder versionDescription​(String versionDescription)

        A description for the version of the launch template.

        Parameters:
        versionDescription - A description for the version of the launch template.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • launchTemplateData

        CreateLaunchTemplateVersionRequest.Builder launchTemplateData​(RequestLaunchTemplateData launchTemplateData)

        The information for the launch template.

        Parameters:
        launchTemplateData - The information for the launch template.
        Returns:
        Returns a reference to this object so that method calls can be chained together.