#[non_exhaustive]pub struct DomainStatusBuilder { /* private fields */ }
Expand description
A builder for DomainStatus
.
Implementations§
Source§impl DomainStatusBuilder
impl DomainStatusBuilder
Sourcepub fn domain_id(self, input: impl Into<String>) -> Self
pub fn domain_id(self, input: impl Into<String>) -> Self
Unique identifier for the domain.
This field is required.Sourcepub fn set_domain_id(self, input: Option<String>) -> Self
pub fn set_domain_id(self, input: Option<String>) -> Self
Unique identifier for the domain.
Sourcepub fn get_domain_id(&self) -> &Option<String>
pub fn get_domain_id(&self) -> &Option<String>
Unique identifier for the domain.
Sourcepub fn domain_name(self, input: impl Into<String>) -> Self
pub fn domain_name(self, input: impl Into<String>) -> Self
Name of the domain. Domain names are unique across all domains owned by the same account within an Amazon Web Services Region.
This field is required.Sourcepub fn set_domain_name(self, input: Option<String>) -> Self
pub fn set_domain_name(self, input: Option<String>) -> Self
Name of the domain. Domain names are unique across all domains owned by the same account within an Amazon Web Services Region.
Sourcepub fn get_domain_name(&self) -> &Option<String>
pub fn get_domain_name(&self) -> &Option<String>
Name of the domain. Domain names are unique across all domains owned by the same account within an Amazon Web Services Region.
Sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the domain. For more information, see IAM identifiers in the AWS Identity and Access Management User Guide.
This field is required.Sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the domain. For more information, see IAM identifiers in the AWS Identity and Access Management User Guide.
Sourcepub fn get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the domain. For more information, see IAM identifiers in the AWS Identity and Access Management User Guide.
Sourcepub fn created(self, input: bool) -> Self
pub fn created(self, input: bool) -> Self
Creation status of an OpenSearch Service domain. True if domain creation is complete. False if domain creation is still in progress.
Sourcepub fn set_created(self, input: Option<bool>) -> Self
pub fn set_created(self, input: Option<bool>) -> Self
Creation status of an OpenSearch Service domain. True if domain creation is complete. False if domain creation is still in progress.
Sourcepub fn get_created(&self) -> &Option<bool>
pub fn get_created(&self) -> &Option<bool>
Creation status of an OpenSearch Service domain. True if domain creation is complete. False if domain creation is still in progress.
Sourcepub fn deleted(self, input: bool) -> Self
pub fn deleted(self, input: bool) -> Self
Deletion status of an OpenSearch Service domain. True if domain deletion is complete. False if domain deletion is still in progress. Once deletion is complete, the status of the domain is no longer returned.
Sourcepub fn set_deleted(self, input: Option<bool>) -> Self
pub fn set_deleted(self, input: Option<bool>) -> Self
Deletion status of an OpenSearch Service domain. True if domain deletion is complete. False if domain deletion is still in progress. Once deletion is complete, the status of the domain is no longer returned.
Sourcepub fn get_deleted(&self) -> &Option<bool>
pub fn get_deleted(&self) -> &Option<bool>
Deletion status of an OpenSearch Service domain. True if domain deletion is complete. False if domain deletion is still in progress. Once deletion is complete, the status of the domain is no longer returned.
Sourcepub fn endpoint(self, input: impl Into<String>) -> Self
pub fn endpoint(self, input: impl Into<String>) -> Self
Domain-specific endpoint used to submit index, search, and data upload requests to the domain.
Sourcepub fn set_endpoint(self, input: Option<String>) -> Self
pub fn set_endpoint(self, input: Option<String>) -> Self
Domain-specific endpoint used to submit index, search, and data upload requests to the domain.
Sourcepub fn get_endpoint(&self) -> &Option<String>
pub fn get_endpoint(&self) -> &Option<String>
Domain-specific endpoint used to submit index, search, and data upload requests to the domain.
Sourcepub fn endpoint_v2(self, input: impl Into<String>) -> Self
pub fn endpoint_v2(self, input: impl Into<String>) -> Self
If IPAddressType
to set to dualstack
, a version 2 domain endpoint is provisioned. This endpoint functions like a normal endpoint, except that it works with both IPv4 and IPv6 IP addresses. Normal endpoints work only with IPv4 IP addresses.
Sourcepub fn set_endpoint_v2(self, input: Option<String>) -> Self
pub fn set_endpoint_v2(self, input: Option<String>) -> Self
If IPAddressType
to set to dualstack
, a version 2 domain endpoint is provisioned. This endpoint functions like a normal endpoint, except that it works with both IPv4 and IPv6 IP addresses. Normal endpoints work only with IPv4 IP addresses.
Sourcepub fn get_endpoint_v2(&self) -> &Option<String>
pub fn get_endpoint_v2(&self) -> &Option<String>
If IPAddressType
to set to dualstack
, a version 2 domain endpoint is provisioned. This endpoint functions like a normal endpoint, except that it works with both IPv4 and IPv6 IP addresses. Normal endpoints work only with IPv4 IP addresses.
Sourcepub fn endpoints(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn endpoints(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to endpoints
.
To override the contents of this collection use set_endpoints
.
The key-value pair that exists if the OpenSearch Service domain uses VPC endpoints. For example:
-
IPv4 IP addresses -
'vpc','vpc-endpoint-h2dsd34efgyghrtguk5gt6j2foh4.us-east-1.es.amazonaws.com'
-
Dual stack IP addresses -
'vpcv2':'vpc-endpoint-h2dsd34efgyghrtguk5gt6j2foh4.aos.us-east-1.on.aws'
Sourcepub fn set_endpoints(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_endpoints(self, input: Option<HashMap<String, String>>) -> Self
The key-value pair that exists if the OpenSearch Service domain uses VPC endpoints. For example:
-
IPv4 IP addresses -
'vpc','vpc-endpoint-h2dsd34efgyghrtguk5gt6j2foh4.us-east-1.es.amazonaws.com'
-
Dual stack IP addresses -
'vpcv2':'vpc-endpoint-h2dsd34efgyghrtguk5gt6j2foh4.aos.us-east-1.on.aws'
Sourcepub fn get_endpoints(&self) -> &Option<HashMap<String, String>>
pub fn get_endpoints(&self) -> &Option<HashMap<String, String>>
The key-value pair that exists if the OpenSearch Service domain uses VPC endpoints. For example:
-
IPv4 IP addresses -
'vpc','vpc-endpoint-h2dsd34efgyghrtguk5gt6j2foh4.us-east-1.es.amazonaws.com'
-
Dual stack IP addresses -
'vpcv2':'vpc-endpoint-h2dsd34efgyghrtguk5gt6j2foh4.aos.us-east-1.on.aws'
Sourcepub fn domain_endpoint_v2_hosted_zone_id(self, input: impl Into<String>) -> Self
pub fn domain_endpoint_v2_hosted_zone_id(self, input: impl Into<String>) -> Self
The dual stack hosted zone ID for the domain.
Sourcepub fn set_domain_endpoint_v2_hosted_zone_id(
self,
input: Option<String>,
) -> Self
pub fn set_domain_endpoint_v2_hosted_zone_id( self, input: Option<String>, ) -> Self
The dual stack hosted zone ID for the domain.
Sourcepub fn get_domain_endpoint_v2_hosted_zone_id(&self) -> &Option<String>
pub fn get_domain_endpoint_v2_hosted_zone_id(&self) -> &Option<String>
The dual stack hosted zone ID for the domain.
Sourcepub fn processing(self, input: bool) -> Self
pub fn processing(self, input: bool) -> Self
The status of the domain configuration. True if OpenSearch Service is processing configuration changes. False if the configuration is active.
Sourcepub fn set_processing(self, input: Option<bool>) -> Self
pub fn set_processing(self, input: Option<bool>) -> Self
The status of the domain configuration. True if OpenSearch Service is processing configuration changes. False if the configuration is active.
Sourcepub fn get_processing(&self) -> &Option<bool>
pub fn get_processing(&self) -> &Option<bool>
The status of the domain configuration. True if OpenSearch Service is processing configuration changes. False if the configuration is active.
Sourcepub fn upgrade_processing(self, input: bool) -> Self
pub fn upgrade_processing(self, input: bool) -> Self
The status of a domain version upgrade to a new version of OpenSearch or Elasticsearch. True if OpenSearch Service is in the process of a version upgrade. False if the configuration is active.
Sourcepub fn set_upgrade_processing(self, input: Option<bool>) -> Self
pub fn set_upgrade_processing(self, input: Option<bool>) -> Self
The status of a domain version upgrade to a new version of OpenSearch or Elasticsearch. True if OpenSearch Service is in the process of a version upgrade. False if the configuration is active.
Sourcepub fn get_upgrade_processing(&self) -> &Option<bool>
pub fn get_upgrade_processing(&self) -> &Option<bool>
The status of a domain version upgrade to a new version of OpenSearch or Elasticsearch. True if OpenSearch Service is in the process of a version upgrade. False if the configuration is active.
Sourcepub fn engine_version(self, input: impl Into<String>) -> Self
pub fn engine_version(self, input: impl Into<String>) -> Self
Version of OpenSearch or Elasticsearch that the domain is running, in the format Elasticsearch_X.Y
or OpenSearch_X.Y
.
Sourcepub fn set_engine_version(self, input: Option<String>) -> Self
pub fn set_engine_version(self, input: Option<String>) -> Self
Version of OpenSearch or Elasticsearch that the domain is running, in the format Elasticsearch_X.Y
or OpenSearch_X.Y
.
Sourcepub fn get_engine_version(&self) -> &Option<String>
pub fn get_engine_version(&self) -> &Option<String>
Version of OpenSearch or Elasticsearch that the domain is running, in the format Elasticsearch_X.Y
or OpenSearch_X.Y
.
Sourcepub fn cluster_config(self, input: ClusterConfig) -> Self
pub fn cluster_config(self, input: ClusterConfig) -> Self
Container for the cluster configuration of the domain.
This field is required.Sourcepub fn set_cluster_config(self, input: Option<ClusterConfig>) -> Self
pub fn set_cluster_config(self, input: Option<ClusterConfig>) -> Self
Container for the cluster configuration of the domain.
Sourcepub fn get_cluster_config(&self) -> &Option<ClusterConfig>
pub fn get_cluster_config(&self) -> &Option<ClusterConfig>
Container for the cluster configuration of the domain.
Sourcepub fn ebs_options(self, input: EbsOptions) -> Self
pub fn ebs_options(self, input: EbsOptions) -> Self
Container for EBS-based storage settings for the domain.
Sourcepub fn set_ebs_options(self, input: Option<EbsOptions>) -> Self
pub fn set_ebs_options(self, input: Option<EbsOptions>) -> Self
Container for EBS-based storage settings for the domain.
Sourcepub fn get_ebs_options(&self) -> &Option<EbsOptions>
pub fn get_ebs_options(&self) -> &Option<EbsOptions>
Container for EBS-based storage settings for the domain.
Sourcepub fn access_policies(self, input: impl Into<String>) -> Self
pub fn access_policies(self, input: impl Into<String>) -> Self
Identity and Access Management (IAM) policy document specifying the access policies for the domain.
Sourcepub fn set_access_policies(self, input: Option<String>) -> Self
pub fn set_access_policies(self, input: Option<String>) -> Self
Identity and Access Management (IAM) policy document specifying the access policies for the domain.
Sourcepub fn get_access_policies(&self) -> &Option<String>
pub fn get_access_policies(&self) -> &Option<String>
Identity and Access Management (IAM) policy document specifying the access policies for the domain.
Sourcepub fn ip_address_type(self, input: IpAddressType) -> Self
pub fn ip_address_type(self, input: IpAddressType) -> Self
The type of IP addresses supported by the endpoint for the domain.
Sourcepub fn set_ip_address_type(self, input: Option<IpAddressType>) -> Self
pub fn set_ip_address_type(self, input: Option<IpAddressType>) -> Self
The type of IP addresses supported by the endpoint for the domain.
Sourcepub fn get_ip_address_type(&self) -> &Option<IpAddressType>
pub fn get_ip_address_type(&self) -> &Option<IpAddressType>
The type of IP addresses supported by the endpoint for the domain.
Sourcepub fn snapshot_options(self, input: SnapshotOptions) -> Self
pub fn snapshot_options(self, input: SnapshotOptions) -> Self
DEPRECATED. Container for parameters required to configure automated snapshots of domain indexes.
Sourcepub fn set_snapshot_options(self, input: Option<SnapshotOptions>) -> Self
pub fn set_snapshot_options(self, input: Option<SnapshotOptions>) -> Self
DEPRECATED. Container for parameters required to configure automated snapshots of domain indexes.
Sourcepub fn get_snapshot_options(&self) -> &Option<SnapshotOptions>
pub fn get_snapshot_options(&self) -> &Option<SnapshotOptions>
DEPRECATED. Container for parameters required to configure automated snapshots of domain indexes.
Sourcepub fn vpc_options(self, input: VpcDerivedInfo) -> Self
pub fn vpc_options(self, input: VpcDerivedInfo) -> Self
The VPC configuration for the domain.
Sourcepub fn set_vpc_options(self, input: Option<VpcDerivedInfo>) -> Self
pub fn set_vpc_options(self, input: Option<VpcDerivedInfo>) -> Self
The VPC configuration for the domain.
Sourcepub fn get_vpc_options(&self) -> &Option<VpcDerivedInfo>
pub fn get_vpc_options(&self) -> &Option<VpcDerivedInfo>
The VPC configuration for the domain.
Sourcepub fn cognito_options(self, input: CognitoOptions) -> Self
pub fn cognito_options(self, input: CognitoOptions) -> Self
Key-value pairs to configure Amazon Cognito authentication for OpenSearch Dashboards.
Sourcepub fn set_cognito_options(self, input: Option<CognitoOptions>) -> Self
pub fn set_cognito_options(self, input: Option<CognitoOptions>) -> Self
Key-value pairs to configure Amazon Cognito authentication for OpenSearch Dashboards.
Sourcepub fn get_cognito_options(&self) -> &Option<CognitoOptions>
pub fn get_cognito_options(&self) -> &Option<CognitoOptions>
Key-value pairs to configure Amazon Cognito authentication for OpenSearch Dashboards.
Sourcepub fn encryption_at_rest_options(self, input: EncryptionAtRestOptions) -> Self
pub fn encryption_at_rest_options(self, input: EncryptionAtRestOptions) -> Self
Encryption at rest settings for the domain.
Sourcepub fn set_encryption_at_rest_options(
self,
input: Option<EncryptionAtRestOptions>,
) -> Self
pub fn set_encryption_at_rest_options( self, input: Option<EncryptionAtRestOptions>, ) -> Self
Encryption at rest settings for the domain.
Sourcepub fn get_encryption_at_rest_options(&self) -> &Option<EncryptionAtRestOptions>
pub fn get_encryption_at_rest_options(&self) -> &Option<EncryptionAtRestOptions>
Encryption at rest settings for the domain.
Sourcepub fn node_to_node_encryption_options(
self,
input: NodeToNodeEncryptionOptions,
) -> Self
pub fn node_to_node_encryption_options( self, input: NodeToNodeEncryptionOptions, ) -> Self
Whether node-to-node encryption is enabled or disabled.
Sourcepub fn set_node_to_node_encryption_options(
self,
input: Option<NodeToNodeEncryptionOptions>,
) -> Self
pub fn set_node_to_node_encryption_options( self, input: Option<NodeToNodeEncryptionOptions>, ) -> Self
Whether node-to-node encryption is enabled or disabled.
Sourcepub fn get_node_to_node_encryption_options(
&self,
) -> &Option<NodeToNodeEncryptionOptions>
pub fn get_node_to_node_encryption_options( &self, ) -> &Option<NodeToNodeEncryptionOptions>
Whether node-to-node encryption is enabled or disabled.
Sourcepub fn advanced_options(
self,
k: impl Into<String>,
v: impl Into<String>,
) -> Self
pub fn advanced_options( self, k: impl Into<String>, v: impl Into<String>, ) -> Self
Adds a key-value pair to advanced_options
.
To override the contents of this collection use set_advanced_options
.
Key-value pairs that specify advanced configuration options.
Sourcepub fn set_advanced_options(
self,
input: Option<HashMap<String, String>>,
) -> Self
pub fn set_advanced_options( self, input: Option<HashMap<String, String>>, ) -> Self
Key-value pairs that specify advanced configuration options.
Sourcepub fn get_advanced_options(&self) -> &Option<HashMap<String, String>>
pub fn get_advanced_options(&self) -> &Option<HashMap<String, String>>
Key-value pairs that specify advanced configuration options.
Sourcepub fn log_publishing_options(self, k: LogType, v: LogPublishingOption) -> Self
pub fn log_publishing_options(self, k: LogType, v: LogPublishingOption) -> Self
Adds a key-value pair to log_publishing_options
.
To override the contents of this collection use set_log_publishing_options
.
Log publishing options for the domain.
Sourcepub fn set_log_publishing_options(
self,
input: Option<HashMap<LogType, LogPublishingOption>>,
) -> Self
pub fn set_log_publishing_options( self, input: Option<HashMap<LogType, LogPublishingOption>>, ) -> Self
Log publishing options for the domain.
Sourcepub fn get_log_publishing_options(
&self,
) -> &Option<HashMap<LogType, LogPublishingOption>>
pub fn get_log_publishing_options( &self, ) -> &Option<HashMap<LogType, LogPublishingOption>>
Log publishing options for the domain.
Sourcepub fn service_software_options(self, input: ServiceSoftwareOptions) -> Self
pub fn service_software_options(self, input: ServiceSoftwareOptions) -> Self
The current status of the domain's service software.
Sourcepub fn set_service_software_options(
self,
input: Option<ServiceSoftwareOptions>,
) -> Self
pub fn set_service_software_options( self, input: Option<ServiceSoftwareOptions>, ) -> Self
The current status of the domain's service software.
Sourcepub fn get_service_software_options(&self) -> &Option<ServiceSoftwareOptions>
pub fn get_service_software_options(&self) -> &Option<ServiceSoftwareOptions>
The current status of the domain's service software.
Sourcepub fn domain_endpoint_options(self, input: DomainEndpointOptions) -> Self
pub fn domain_endpoint_options(self, input: DomainEndpointOptions) -> Self
Additional options for the domain endpoint, such as whether to require HTTPS for all traffic.
Sourcepub fn set_domain_endpoint_options(
self,
input: Option<DomainEndpointOptions>,
) -> Self
pub fn set_domain_endpoint_options( self, input: Option<DomainEndpointOptions>, ) -> Self
Additional options for the domain endpoint, such as whether to require HTTPS for all traffic.
Sourcepub fn get_domain_endpoint_options(&self) -> &Option<DomainEndpointOptions>
pub fn get_domain_endpoint_options(&self) -> &Option<DomainEndpointOptions>
Additional options for the domain endpoint, such as whether to require HTTPS for all traffic.
Sourcepub fn advanced_security_options(self, input: AdvancedSecurityOptions) -> Self
pub fn advanced_security_options(self, input: AdvancedSecurityOptions) -> Self
Settings for fine-grained access control.
Sourcepub fn set_advanced_security_options(
self,
input: Option<AdvancedSecurityOptions>,
) -> Self
pub fn set_advanced_security_options( self, input: Option<AdvancedSecurityOptions>, ) -> Self
Settings for fine-grained access control.
Sourcepub fn get_advanced_security_options(&self) -> &Option<AdvancedSecurityOptions>
pub fn get_advanced_security_options(&self) -> &Option<AdvancedSecurityOptions>
Settings for fine-grained access control.
Sourcepub fn identity_center_options(self, input: IdentityCenterOptions) -> Self
pub fn identity_center_options(self, input: IdentityCenterOptions) -> Self
Configuration options for controlling IAM Identity Center integration within a domain.
Sourcepub fn set_identity_center_options(
self,
input: Option<IdentityCenterOptions>,
) -> Self
pub fn set_identity_center_options( self, input: Option<IdentityCenterOptions>, ) -> Self
Configuration options for controlling IAM Identity Center integration within a domain.
Sourcepub fn get_identity_center_options(&self) -> &Option<IdentityCenterOptions>
pub fn get_identity_center_options(&self) -> &Option<IdentityCenterOptions>
Configuration options for controlling IAM Identity Center integration within a domain.
Sourcepub fn auto_tune_options(self, input: AutoTuneOptionsOutput) -> Self
pub fn auto_tune_options(self, input: AutoTuneOptionsOutput) -> Self
Auto-Tune settings for the domain.
Sourcepub fn set_auto_tune_options(self, input: Option<AutoTuneOptionsOutput>) -> Self
pub fn set_auto_tune_options(self, input: Option<AutoTuneOptionsOutput>) -> Self
Auto-Tune settings for the domain.
Sourcepub fn get_auto_tune_options(&self) -> &Option<AutoTuneOptionsOutput>
pub fn get_auto_tune_options(&self) -> &Option<AutoTuneOptionsOutput>
Auto-Tune settings for the domain.
Sourcepub fn change_progress_details(self, input: ChangeProgressDetails) -> Self
pub fn change_progress_details(self, input: ChangeProgressDetails) -> Self
Information about a configuration change happening on the domain.
Sourcepub fn set_change_progress_details(
self,
input: Option<ChangeProgressDetails>,
) -> Self
pub fn set_change_progress_details( self, input: Option<ChangeProgressDetails>, ) -> Self
Information about a configuration change happening on the domain.
Sourcepub fn get_change_progress_details(&self) -> &Option<ChangeProgressDetails>
pub fn get_change_progress_details(&self) -> &Option<ChangeProgressDetails>
Information about a configuration change happening on the domain.
Sourcepub fn off_peak_window_options(self, input: OffPeakWindowOptions) -> Self
pub fn off_peak_window_options(self, input: OffPeakWindowOptions) -> Self
Options that specify a custom 10-hour window during which OpenSearch Service can perform configuration changes on the domain.
Sourcepub fn set_off_peak_window_options(
self,
input: Option<OffPeakWindowOptions>,
) -> Self
pub fn set_off_peak_window_options( self, input: Option<OffPeakWindowOptions>, ) -> Self
Options that specify a custom 10-hour window during which OpenSearch Service can perform configuration changes on the domain.
Sourcepub fn get_off_peak_window_options(&self) -> &Option<OffPeakWindowOptions>
pub fn get_off_peak_window_options(&self) -> &Option<OffPeakWindowOptions>
Options that specify a custom 10-hour window during which OpenSearch Service can perform configuration changes on the domain.
Sourcepub fn software_update_options(self, input: SoftwareUpdateOptions) -> Self
pub fn software_update_options(self, input: SoftwareUpdateOptions) -> Self
Service software update options for the domain.
Sourcepub fn set_software_update_options(
self,
input: Option<SoftwareUpdateOptions>,
) -> Self
pub fn set_software_update_options( self, input: Option<SoftwareUpdateOptions>, ) -> Self
Service software update options for the domain.
Sourcepub fn get_software_update_options(&self) -> &Option<SoftwareUpdateOptions>
pub fn get_software_update_options(&self) -> &Option<SoftwareUpdateOptions>
Service software update options for the domain.
Sourcepub fn domain_processing_status(self, input: DomainProcessingStatusType) -> Self
pub fn domain_processing_status(self, input: DomainProcessingStatusType) -> Self
The status of any changes that are currently in progress for the domain.
Sourcepub fn set_domain_processing_status(
self,
input: Option<DomainProcessingStatusType>,
) -> Self
pub fn set_domain_processing_status( self, input: Option<DomainProcessingStatusType>, ) -> Self
The status of any changes that are currently in progress for the domain.
Sourcepub fn get_domain_processing_status(
&self,
) -> &Option<DomainProcessingStatusType>
pub fn get_domain_processing_status( &self, ) -> &Option<DomainProcessingStatusType>
The status of any changes that are currently in progress for the domain.
Sourcepub fn modifying_properties(self, input: ModifyingProperties) -> Self
pub fn modifying_properties(self, input: ModifyingProperties) -> Self
Appends an item to modifying_properties
.
To override the contents of this collection use set_modifying_properties
.
Information about the domain properties that are currently being modified.
Sourcepub fn set_modifying_properties(
self,
input: Option<Vec<ModifyingProperties>>,
) -> Self
pub fn set_modifying_properties( self, input: Option<Vec<ModifyingProperties>>, ) -> Self
Information about the domain properties that are currently being modified.
Sourcepub fn get_modifying_properties(&self) -> &Option<Vec<ModifyingProperties>>
pub fn get_modifying_properties(&self) -> &Option<Vec<ModifyingProperties>>
Information about the domain properties that are currently being modified.
Sourcepub fn aiml_options(self, input: AimlOptionsOutput) -> Self
pub fn aiml_options(self, input: AimlOptionsOutput) -> Self
Container for parameters required to enable all machine learning features.
Sourcepub fn set_aiml_options(self, input: Option<AimlOptionsOutput>) -> Self
pub fn set_aiml_options(self, input: Option<AimlOptionsOutput>) -> Self
Container for parameters required to enable all machine learning features.
Sourcepub fn get_aiml_options(&self) -> &Option<AimlOptionsOutput>
pub fn get_aiml_options(&self) -> &Option<AimlOptionsOutput>
Container for parameters required to enable all machine learning features.
Sourcepub fn build(self) -> Result<DomainStatus, BuildError>
pub fn build(self) -> Result<DomainStatus, BuildError>
Consumes the builder and constructs a DomainStatus
.
This method will fail if any of the following fields are not set:
Trait Implementations§
Source§impl Clone for DomainStatusBuilder
impl Clone for DomainStatusBuilder
Source§fn clone(&self) -> DomainStatusBuilder
fn clone(&self) -> DomainStatusBuilder
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for DomainStatusBuilder
impl Debug for DomainStatusBuilder
Source§impl Default for DomainStatusBuilder
impl Default for DomainStatusBuilder
Source§fn default() -> DomainStatusBuilder
fn default() -> DomainStatusBuilder
Source§impl PartialEq for DomainStatusBuilder
impl PartialEq for DomainStatusBuilder
impl StructuralPartialEq for DomainStatusBuilder
Auto Trait Implementations§
impl Freeze for DomainStatusBuilder
impl RefUnwindSafe for DomainStatusBuilder
impl Send for DomainStatusBuilder
impl Sync for DomainStatusBuilder
impl Unpin for DomainStatusBuilder
impl UnwindSafe for DomainStatusBuilder
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);