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. 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. 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 LaunchTemplateId or the LaunchTemplateName, but not both.

        Parameters:
        launchTemplateId - The ID of the launch template.

        You must specify either the LaunchTemplateId or the LaunchTemplateName, 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 the LaunchTemplateName or the LaunchTemplateId, but not both.

        Parameters:
        launchTemplateName - The name of the launch template.

        You must specify the LaunchTemplateName or the LaunchTemplateId, 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 number of the launch template version on which to base the new version. The new version inherits the same launch parameters as the source version, except for parameters that you specify in LaunchTemplateData. Snapshots applied to the block device mapping are ignored when creating a new version unless they are explicitly included.

        Parameters:
        sourceVersion - The version number of the launch template version on which to base the new version. The new version inherits the same launch parameters as the source version, except for parameters that you specify in LaunchTemplateData. Snapshots applied to the block device mapping are ignored when creating a new version unless they are explicitly included.
        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.