Interface DeregisterImageRequest.Builder

    • Method Detail

      • imageId

        DeregisterImageRequest.Builder imageId​(String imageId)

        The ID of the AMI.

        Parameters:
        imageId - The ID of the AMI.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • deleteAssociatedSnapshots

        DeregisterImageRequest.Builder deleteAssociatedSnapshots​(Boolean deleteAssociatedSnapshots)

        Specifies whether to delete the snapshots associated with the AMI during deregistration.

        If a snapshot is associated with multiple AMIs, it is not deleted, regardless of this setting.

        Default: The snapshots are not deleted.

        Parameters:
        deleteAssociatedSnapshots - Specifies whether to delete the snapshots associated with the AMI during deregistration.

        If a snapshot is associated with multiple AMIs, it is not deleted, regardless of this setting.

        Default: The snapshots are not deleted.

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

        DeregisterImageRequest.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.