#[non_exhaustive]pub struct CreateSnapshotOutputBuilder { /* private fields */ }
Expand description
A builder for CreateSnapshotOutput
.
Implementations§
Source§impl CreateSnapshotOutputBuilder
impl CreateSnapshotOutputBuilder
Sourcepub fn owner_alias(self, input: impl Into<String>) -> Self
pub fn owner_alias(self, input: impl Into<String>) -> Self
The Amazon Web Services owner alias, from an Amazon-maintained list (amazon
). This is not the user-configured Amazon Web Services account alias set using the IAM console.
Sourcepub fn set_owner_alias(self, input: Option<String>) -> Self
pub fn set_owner_alias(self, input: Option<String>) -> Self
The Amazon Web Services owner alias, from an Amazon-maintained list (amazon
). This is not the user-configured Amazon Web Services account alias set using the IAM console.
Sourcepub fn get_owner_alias(&self) -> &Option<String>
pub fn get_owner_alias(&self) -> &Option<String>
The Amazon Web Services owner alias, from an Amazon-maintained list (amazon
). This is not the user-configured Amazon Web Services account alias set using the IAM console.
Sourcepub fn outpost_arn(self, input: impl Into<String>) -> Self
pub fn outpost_arn(self, input: impl Into<String>) -> Self
The ARN of the Outpost on which the snapshot is stored. For more information, see Amazon EBS local snapshots on Outposts in the Amazon EBS User Guide.
Sourcepub fn set_outpost_arn(self, input: Option<String>) -> Self
pub fn set_outpost_arn(self, input: Option<String>) -> Self
The ARN of the Outpost on which the snapshot is stored. For more information, see Amazon EBS local snapshots on Outposts in the Amazon EBS User Guide.
Sourcepub fn get_outpost_arn(&self) -> &Option<String>
pub fn get_outpost_arn(&self) -> &Option<String>
The ARN of the Outpost on which the snapshot is stored. For more information, see Amazon EBS local snapshots on Outposts in the Amazon EBS User Guide.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
Any tags assigned to the snapshot.
Any tags assigned to the snapshot.
Any tags assigned to the snapshot.
Sourcepub fn storage_tier(self, input: StorageTier) -> Self
pub fn storage_tier(self, input: StorageTier) -> Self
The storage tier in which the snapshot is stored. standard
indicates that the snapshot is stored in the standard snapshot storage tier and that it is ready for use. archive
indicates that the snapshot is currently archived and that it must be restored before it can be used.
Sourcepub fn set_storage_tier(self, input: Option<StorageTier>) -> Self
pub fn set_storage_tier(self, input: Option<StorageTier>) -> Self
The storage tier in which the snapshot is stored. standard
indicates that the snapshot is stored in the standard snapshot storage tier and that it is ready for use. archive
indicates that the snapshot is currently archived and that it must be restored before it can be used.
Sourcepub fn get_storage_tier(&self) -> &Option<StorageTier>
pub fn get_storage_tier(&self) -> &Option<StorageTier>
The storage tier in which the snapshot is stored. standard
indicates that the snapshot is stored in the standard snapshot storage tier and that it is ready for use. archive
indicates that the snapshot is currently archived and that it must be restored before it can be used.
Sourcepub fn restore_expiry_time(self, input: DateTime) -> Self
pub fn restore_expiry_time(self, input: DateTime) -> Self
Only for archived snapshots that are temporarily restored. Indicates the date and time when a temporarily restored snapshot will be automatically re-archived.
Sourcepub fn set_restore_expiry_time(self, input: Option<DateTime>) -> Self
pub fn set_restore_expiry_time(self, input: Option<DateTime>) -> Self
Only for archived snapshots that are temporarily restored. Indicates the date and time when a temporarily restored snapshot will be automatically re-archived.
Sourcepub fn get_restore_expiry_time(&self) -> &Option<DateTime>
pub fn get_restore_expiry_time(&self) -> &Option<DateTime>
Only for archived snapshots that are temporarily restored. Indicates the date and time when a temporarily restored snapshot will be automatically re-archived.
Sourcepub fn set_sse_type(self, input: Option<SseType>) -> Self
pub fn set_sse_type(self, input: Option<SseType>) -> Self
Reserved for future use.
Sourcepub fn get_sse_type(&self) -> &Option<SseType>
pub fn get_sse_type(&self) -> &Option<SseType>
Reserved for future use.
Sourcepub fn availability_zone(self, input: impl Into<String>) -> Self
pub fn availability_zone(self, input: impl Into<String>) -> Self
The Availability Zone or Local Zone of the snapshot. For example, us-west-1a
(Availability Zone) or us-west-2-lax-1a
(Local Zone).
Sourcepub fn set_availability_zone(self, input: Option<String>) -> Self
pub fn set_availability_zone(self, input: Option<String>) -> Self
The Availability Zone or Local Zone of the snapshot. For example, us-west-1a
(Availability Zone) or us-west-2-lax-1a
(Local Zone).
Sourcepub fn get_availability_zone(&self) -> &Option<String>
pub fn get_availability_zone(&self) -> &Option<String>
The Availability Zone or Local Zone of the snapshot. For example, us-west-1a
(Availability Zone) or us-west-2-lax-1a
(Local Zone).
Sourcepub fn transfer_type(self, input: TransferType) -> Self
pub fn transfer_type(self, input: TransferType) -> Self
Only for snapshot copies.
Indicates whether the snapshot copy was created with a standard or time-based snapshot copy operation. Time-based snapshot copy operations complete within the completion duration specified in the request. Standard snapshot copy operations are completed on a best-effort basis.
-
standard
- The snapshot copy was created with a standard snapshot copy operation. -
time-based
- The snapshot copy was created with a time-based snapshot copy operation.
Sourcepub fn set_transfer_type(self, input: Option<TransferType>) -> Self
pub fn set_transfer_type(self, input: Option<TransferType>) -> Self
Only for snapshot copies.
Indicates whether the snapshot copy was created with a standard or time-based snapshot copy operation. Time-based snapshot copy operations complete within the completion duration specified in the request. Standard snapshot copy operations are completed on a best-effort basis.
-
standard
- The snapshot copy was created with a standard snapshot copy operation. -
time-based
- The snapshot copy was created with a time-based snapshot copy operation.
Sourcepub fn get_transfer_type(&self) -> &Option<TransferType>
pub fn get_transfer_type(&self) -> &Option<TransferType>
Only for snapshot copies.
Indicates whether the snapshot copy was created with a standard or time-based snapshot copy operation. Time-based snapshot copy operations complete within the completion duration specified in the request. Standard snapshot copy operations are completed on a best-effort basis.
-
standard
- The snapshot copy was created with a standard snapshot copy operation. -
time-based
- The snapshot copy was created with a time-based snapshot copy operation.
Sourcepub fn completion_duration_minutes(self, input: i32) -> Self
pub fn completion_duration_minutes(self, input: i32) -> Self
Only for snapshot copies created with time-based snapshot copy operations.
The completion duration requested for the time-based snapshot copy operation.
Sourcepub fn set_completion_duration_minutes(self, input: Option<i32>) -> Self
pub fn set_completion_duration_minutes(self, input: Option<i32>) -> Self
Only for snapshot copies created with time-based snapshot copy operations.
The completion duration requested for the time-based snapshot copy operation.
Sourcepub fn get_completion_duration_minutes(&self) -> &Option<i32>
pub fn get_completion_duration_minutes(&self) -> &Option<i32>
Only for snapshot copies created with time-based snapshot copy operations.
The completion duration requested for the time-based snapshot copy operation.
Sourcepub fn completion_time(self, input: DateTime) -> Self
pub fn completion_time(self, input: DateTime) -> Self
The time stamp when the snapshot was completed.
Sourcepub fn set_completion_time(self, input: Option<DateTime>) -> Self
pub fn set_completion_time(self, input: Option<DateTime>) -> Self
The time stamp when the snapshot was completed.
Sourcepub fn get_completion_time(&self) -> &Option<DateTime>
pub fn get_completion_time(&self) -> &Option<DateTime>
The time stamp when the snapshot was completed.
Sourcepub fn full_snapshot_size_in_bytes(self, input: i64) -> Self
pub fn full_snapshot_size_in_bytes(self, input: i64) -> Self
The full size of the snapshot, in bytes.
This is not the incremental size of the snapshot. This is the full snapshot size and represents the size of all the blocks that were written to the source volume at the time the snapshot was created.
Sourcepub fn set_full_snapshot_size_in_bytes(self, input: Option<i64>) -> Self
pub fn set_full_snapshot_size_in_bytes(self, input: Option<i64>) -> Self
The full size of the snapshot, in bytes.
This is not the incremental size of the snapshot. This is the full snapshot size and represents the size of all the blocks that were written to the source volume at the time the snapshot was created.
Sourcepub fn get_full_snapshot_size_in_bytes(&self) -> &Option<i64>
pub fn get_full_snapshot_size_in_bytes(&self) -> &Option<i64>
The full size of the snapshot, in bytes.
This is not the incremental size of the snapshot. This is the full snapshot size and represents the size of all the blocks that were written to the source volume at the time the snapshot was created.
Sourcepub fn snapshot_id(self, input: impl Into<String>) -> Self
pub fn snapshot_id(self, input: impl Into<String>) -> Self
The ID of the snapshot. Each snapshot receives a unique identifier when it is created.
Sourcepub fn set_snapshot_id(self, input: Option<String>) -> Self
pub fn set_snapshot_id(self, input: Option<String>) -> Self
The ID of the snapshot. Each snapshot receives a unique identifier when it is created.
Sourcepub fn get_snapshot_id(&self) -> &Option<String>
pub fn get_snapshot_id(&self) -> &Option<String>
The ID of the snapshot. Each snapshot receives a unique identifier when it is created.
Sourcepub fn volume_id(self, input: impl Into<String>) -> Self
pub fn volume_id(self, input: impl Into<String>) -> Self
The ID of the volume that was used to create the snapshot. Snapshots created by the CopySnapshot
action have an arbitrary volume ID that should not be used for any purpose.
Sourcepub fn set_volume_id(self, input: Option<String>) -> Self
pub fn set_volume_id(self, input: Option<String>) -> Self
The ID of the volume that was used to create the snapshot. Snapshots created by the CopySnapshot
action have an arbitrary volume ID that should not be used for any purpose.
Sourcepub fn get_volume_id(&self) -> &Option<String>
pub fn get_volume_id(&self) -> &Option<String>
The ID of the volume that was used to create the snapshot. Snapshots created by the CopySnapshot
action have an arbitrary volume ID that should not be used for any purpose.
Sourcepub fn state(self, input: SnapshotState) -> Self
pub fn state(self, input: SnapshotState) -> Self
The snapshot state.
Sourcepub fn set_state(self, input: Option<SnapshotState>) -> Self
pub fn set_state(self, input: Option<SnapshotState>) -> Self
The snapshot state.
Sourcepub fn get_state(&self) -> &Option<SnapshotState>
pub fn get_state(&self) -> &Option<SnapshotState>
The snapshot state.
Sourcepub fn state_message(self, input: impl Into<String>) -> Self
pub fn state_message(self, input: impl Into<String>) -> Self
Encrypted Amazon EBS snapshots are copied asynchronously. If a snapshot copy operation fails (for example, if the proper KMS permissions are not obtained) this field displays error state details to help you diagnose why the error occurred. This parameter is only returned by DescribeSnapshots
.
Sourcepub fn set_state_message(self, input: Option<String>) -> Self
pub fn set_state_message(self, input: Option<String>) -> Self
Encrypted Amazon EBS snapshots are copied asynchronously. If a snapshot copy operation fails (for example, if the proper KMS permissions are not obtained) this field displays error state details to help you diagnose why the error occurred. This parameter is only returned by DescribeSnapshots
.
Sourcepub fn get_state_message(&self) -> &Option<String>
pub fn get_state_message(&self) -> &Option<String>
Encrypted Amazon EBS snapshots are copied asynchronously. If a snapshot copy operation fails (for example, if the proper KMS permissions are not obtained) this field displays error state details to help you diagnose why the error occurred. This parameter is only returned by DescribeSnapshots
.
Sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
The time stamp when the snapshot was initiated.
Sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
The time stamp when the snapshot was initiated.
Sourcepub fn get_start_time(&self) -> &Option<DateTime>
pub fn get_start_time(&self) -> &Option<DateTime>
The time stamp when the snapshot was initiated.
Sourcepub fn progress(self, input: impl Into<String>) -> Self
pub fn progress(self, input: impl Into<String>) -> Self
The progress of the snapshot, as a percentage.
Sourcepub fn set_progress(self, input: Option<String>) -> Self
pub fn set_progress(self, input: Option<String>) -> Self
The progress of the snapshot, as a percentage.
Sourcepub fn get_progress(&self) -> &Option<String>
pub fn get_progress(&self) -> &Option<String>
The progress of the snapshot, as a percentage.
Sourcepub fn owner_id(self, input: impl Into<String>) -> Self
pub fn owner_id(self, input: impl Into<String>) -> Self
The ID of the Amazon Web Services account that owns the EBS snapshot.
Sourcepub fn set_owner_id(self, input: Option<String>) -> Self
pub fn set_owner_id(self, input: Option<String>) -> Self
The ID of the Amazon Web Services account that owns the EBS snapshot.
Sourcepub fn get_owner_id(&self) -> &Option<String>
pub fn get_owner_id(&self) -> &Option<String>
The ID of the Amazon Web Services account that owns the EBS snapshot.
Sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description for the snapshot.
Sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description for the snapshot.
Sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description for the snapshot.
Sourcepub fn volume_size(self, input: i32) -> Self
pub fn volume_size(self, input: i32) -> Self
The size of the volume, in GiB.
Sourcepub fn set_volume_size(self, input: Option<i32>) -> Self
pub fn set_volume_size(self, input: Option<i32>) -> Self
The size of the volume, in GiB.
Sourcepub fn get_volume_size(&self) -> &Option<i32>
pub fn get_volume_size(&self) -> &Option<i32>
The size of the volume, in GiB.
Sourcepub fn set_encrypted(self, input: Option<bool>) -> Self
pub fn set_encrypted(self, input: Option<bool>) -> Self
Indicates whether the snapshot is encrypted.
Sourcepub fn get_encrypted(&self) -> &Option<bool>
pub fn get_encrypted(&self) -> &Option<bool>
Indicates whether the snapshot is encrypted.
Sourcepub fn kms_key_id(self, input: impl Into<String>) -> Self
pub fn kms_key_id(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the KMS key that was used to protect the volume encryption key for the parent volume.
Sourcepub fn set_kms_key_id(self, input: Option<String>) -> Self
pub fn set_kms_key_id(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the KMS key that was used to protect the volume encryption key for the parent volume.
Sourcepub fn get_kms_key_id(&self) -> &Option<String>
pub fn get_kms_key_id(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the KMS key that was used to protect the volume encryption key for the parent volume.
Sourcepub fn data_encryption_key_id(self, input: impl Into<String>) -> Self
pub fn data_encryption_key_id(self, input: impl Into<String>) -> Self
The data encryption key identifier for the snapshot. This value is a unique identifier that corresponds to the data encryption key that was used to encrypt the original volume or snapshot copy. Because data encryption keys are inherited by volumes created from snapshots, and vice versa, if snapshots share the same data encryption key identifier, then they belong to the same volume/snapshot lineage. This parameter is only returned by DescribeSnapshots
.
Sourcepub fn set_data_encryption_key_id(self, input: Option<String>) -> Self
pub fn set_data_encryption_key_id(self, input: Option<String>) -> Self
The data encryption key identifier for the snapshot. This value is a unique identifier that corresponds to the data encryption key that was used to encrypt the original volume or snapshot copy. Because data encryption keys are inherited by volumes created from snapshots, and vice versa, if snapshots share the same data encryption key identifier, then they belong to the same volume/snapshot lineage. This parameter is only returned by DescribeSnapshots
.
Sourcepub fn get_data_encryption_key_id(&self) -> &Option<String>
pub fn get_data_encryption_key_id(&self) -> &Option<String>
The data encryption key identifier for the snapshot. This value is a unique identifier that corresponds to the data encryption key that was used to encrypt the original volume or snapshot copy. Because data encryption keys are inherited by volumes created from snapshots, and vice versa, if snapshots share the same data encryption key identifier, then they belong to the same volume/snapshot lineage. This parameter is only returned by DescribeSnapshots
.
Sourcepub fn build(self) -> CreateSnapshotOutput
pub fn build(self) -> CreateSnapshotOutput
Consumes the builder and constructs a CreateSnapshotOutput
.
Trait Implementations§
Source§impl Clone for CreateSnapshotOutputBuilder
impl Clone for CreateSnapshotOutputBuilder
Source§fn clone(&self) -> CreateSnapshotOutputBuilder
fn clone(&self) -> CreateSnapshotOutputBuilder
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for CreateSnapshotOutputBuilder
impl Debug for CreateSnapshotOutputBuilder
Source§impl Default for CreateSnapshotOutputBuilder
impl Default for CreateSnapshotOutputBuilder
Source§fn default() -> CreateSnapshotOutputBuilder
fn default() -> CreateSnapshotOutputBuilder
impl StructuralPartialEq for CreateSnapshotOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateSnapshotOutputBuilder
impl RefUnwindSafe for CreateSnapshotOutputBuilder
impl Send for CreateSnapshotOutputBuilder
impl Sync for CreateSnapshotOutputBuilder
impl Unpin for CreateSnapshotOutputBuilder
impl UnwindSafe for CreateSnapshotOutputBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Paint for Twhere
T: ?Sized,
impl<T> Paint for Twhere
T: ?Sized,
Source§fn fg(&self, value: Color) -> Painted<&T>
fn fg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self
with the foreground set to
value
.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like red()
and
green()
, which have the same functionality but are
pithier.
§Example
Set foreground color to white using fg()
:
use yansi::{Paint, Color};
painted.fg(Color::White);
Set foreground color to white using white()
.
use yansi::Paint;
painted.white();
Source§fn bright_black(&self) -> Painted<&T>
fn bright_black(&self) -> Painted<&T>
Source§fn bright_red(&self) -> Painted<&T>
fn bright_red(&self) -> Painted<&T>
Source§fn bright_green(&self) -> Painted<&T>
fn bright_green(&self) -> Painted<&T>
Source§fn bright_yellow(&self) -> Painted<&T>
fn bright_yellow(&self) -> Painted<&T>
Source§fn bright_blue(&self) -> Painted<&T>
fn bright_blue(&self) -> Painted<&T>
Source§fn bright_magenta(&self) -> Painted<&T>
fn bright_magenta(&self) -> Painted<&T>
Source§fn bright_cyan(&self) -> Painted<&T>
fn bright_cyan(&self) -> Painted<&T>
Source§fn bright_white(&self) -> Painted<&T>
fn bright_white(&self) -> Painted<&T>
Source§fn bg(&self, value: Color) -> Painted<&T>
fn bg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self
with the background set to
value
.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like on_red()
and
on_green()
, which have the same functionality but
are pithier.
§Example
Set background color to red using fg()
:
use yansi::{Paint, Color};
painted.bg(Color::Red);
Set background color to red using on_red()
.
use yansi::Paint;
painted.on_red();
Source§fn on_primary(&self) -> Painted<&T>
fn on_primary(&self) -> Painted<&T>
Source§fn on_magenta(&self) -> Painted<&T>
fn on_magenta(&self) -> Painted<&T>
Source§fn on_bright_black(&self) -> Painted<&T>
fn on_bright_black(&self) -> Painted<&T>
Source§fn on_bright_red(&self) -> Painted<&T>
fn on_bright_red(&self) -> Painted<&T>
Source§fn on_bright_green(&self) -> Painted<&T>
fn on_bright_green(&self) -> Painted<&T>
Source§fn on_bright_yellow(&self) -> Painted<&T>
fn on_bright_yellow(&self) -> Painted<&T>
Source§fn on_bright_blue(&self) -> Painted<&T>
fn on_bright_blue(&self) -> Painted<&T>
Source§fn on_bright_magenta(&self) -> Painted<&T>
fn on_bright_magenta(&self) -> Painted<&T>
Source§fn on_bright_cyan(&self) -> Painted<&T>
fn on_bright_cyan(&self) -> Painted<&T>
Source§fn on_bright_white(&self) -> Painted<&T>
fn on_bright_white(&self) -> Painted<&T>
Source§fn attr(&self, value: Attribute) -> Painted<&T>
fn attr(&self, value: Attribute) -> Painted<&T>
Enables the styling Attribute
value
.
This method should be used rarely. Instead, prefer to use
attribute-specific builder methods like bold()
and
underline()
, which have the same functionality
but are pithier.
§Example
Make text bold using attr()
:
use yansi::{Paint, Attribute};
painted.attr(Attribute::Bold);
Make text bold using using bold()
.
use yansi::Paint;
painted.bold();
Source§fn rapid_blink(&self) -> Painted<&T>
fn rapid_blink(&self) -> Painted<&T>
Source§fn quirk(&self, value: Quirk) -> Painted<&T>
fn quirk(&self, value: Quirk) -> Painted<&T>
Enables the yansi
Quirk
value
.
This method should be used rarely. Instead, prefer to use quirk-specific
builder methods like mask()
and
wrap()
, which have the same functionality but are
pithier.
§Example
Enable wrapping using .quirk()
:
use yansi::{Paint, Quirk};
painted.quirk(Quirk::Wrap);
Enable wrapping using wrap()
.
use yansi::Paint;
painted.wrap();
Source§fn clear(&self) -> Painted<&T>
👎Deprecated since 1.0.1: renamed to resetting()
due to conflicts with Vec::clear()
.
The clear()
method will be removed in a future release.
fn clear(&self) -> Painted<&T>
resetting()
due to conflicts with Vec::clear()
.
The clear()
method will be removed in a future release.Source§fn whenever(&self, value: Condition) -> Painted<&T>
fn whenever(&self, value: Condition) -> Painted<&T>
Conditionally enable styling based on whether the Condition
value
applies. Replaces any previous condition.
See the crate level docs for more details.
§Example
Enable styling painted
only when both stdout
and stderr
are TTYs:
use yansi::{Paint, Condition};
painted.red().on_yellow().whenever(Condition::STDOUTERR_ARE_TTY);