Class CreateLaunchTemplateVersionRequest

    • Method Detail

      • dryRun

        public final 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.

        Returns:
        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.
      • clientToken

        public final 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.

        Returns:
        Unique, case-sensitive identifier you provide to ensure the idempotency of the request. For more information, see Ensuring idempotency.

        Constraint: Maximum 128 ASCII characters.

      • launchTemplateId

        public final String launchTemplateId()

        The ID of the launch template.

        You must specify either the LaunchTemplateId or the LaunchTemplateName, but not both.

        Returns:
        The ID of the launch template.

        You must specify either the LaunchTemplateId or the LaunchTemplateName, but not both.

      • launchTemplateName

        public final String launchTemplateName()

        The name of the launch template.

        You must specify the LaunchTemplateName or the LaunchTemplateId, but not both.

        Returns:
        The name of the launch template.

        You must specify the LaunchTemplateName or the LaunchTemplateId, but not both.

      • sourceVersion

        public final 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.

        Returns:
        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.
      • versionDescription

        public final String versionDescription()

        A description for the version of the launch template.

        Returns:
        A description for the version of the launch template.
      • launchTemplateData

        public final RequestLaunchTemplateData launchTemplateData()

        The information for the launch template.

        Returns:
        The information for the launch template.
      • resolveAlias

        public final Boolean resolveAlias()

        If true, and if a Systems Manager parameter is specified for ImageId, the AMI ID is displayed in the response for imageID. For more information, see Use a Systems Manager parameter instead of an AMI ID in the Amazon Elastic Compute Cloud User Guide.

        Default: false

        Returns:
        If true, and if a Systems Manager parameter is specified for ImageId, the AMI ID is displayed in the response for imageID. For more information, see Use a Systems Manager parameter instead of an AMI ID in the Amazon Elastic Compute Cloud User Guide.

        Default: false

      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object