#[non_exhaustive]
pub struct MemberDetailBuilder { /* private fields */ }
Expand description

A builder for MemberDetail.

Implementations§

source§

impl MemberDetailBuilder

source

pub fn account_id(self, input: impl Into<String>) -> Self

The Amazon Web Services account identifier for the member account.

source

pub fn set_account_id(self, input: Option<String>) -> Self

The Amazon Web Services account identifier for the member account.

source

pub fn get_account_id(&self) -> &Option<String>

The Amazon Web Services account identifier for the member account.

source

pub fn email_address(self, input: impl Into<String>) -> Self

The Amazon Web Services account root user email address for the member account.

source

pub fn set_email_address(self, input: Option<String>) -> Self

The Amazon Web Services account root user email address for the member account.

source

pub fn get_email_address(&self) -> &Option<String>

The Amazon Web Services account root user email address for the member account.

source

pub fn graph_arn(self, input: impl Into<String>) -> Self

The ARN of the behavior graph.

source

pub fn set_graph_arn(self, input: Option<String>) -> Self

The ARN of the behavior graph.

source

pub fn get_graph_arn(&self) -> &Option<String>

The ARN of the behavior graph.

source

pub fn master_id(self, input: impl Into<String>) -> Self

👎Deprecated: This property is deprecated. Use AdministratorId instead.

The Amazon Web Services account identifier of the administrator account for the behavior graph.

source

pub fn set_master_id(self, input: Option<String>) -> Self

👎Deprecated: This property is deprecated. Use AdministratorId instead.

The Amazon Web Services account identifier of the administrator account for the behavior graph.

source

pub fn get_master_id(&self) -> &Option<String>

👎Deprecated: This property is deprecated. Use AdministratorId instead.

The Amazon Web Services account identifier of the administrator account for the behavior graph.

source

pub fn administrator_id(self, input: impl Into<String>) -> Self

The Amazon Web Services account identifier of the administrator account for the behavior graph.

source

pub fn set_administrator_id(self, input: Option<String>) -> Self

The Amazon Web Services account identifier of the administrator account for the behavior graph.

source

pub fn get_administrator_id(&self) -> &Option<String>

The Amazon Web Services account identifier of the administrator account for the behavior graph.

source

pub fn status(self, input: MemberStatus) -> Self

The current membership status of the member account. The status can have one of the following values:

  • INVITED - For invited accounts only. Indicates that the member was sent an invitation but has not yet responded.

  • VERIFICATION_IN_PROGRESS - For invited accounts only, indicates that Detective is verifying that the account identifier and email address provided for the member account match. If they do match, then Detective sends the invitation. If the email address and account identifier don't match, then the member cannot be added to the behavior graph.

    For organization accounts in the organization behavior graph, indicates that Detective is verifying that the account belongs to the organization.

  • VERIFICATION_FAILED - For invited accounts only. Indicates that the account and email address provided for the member account do not match, and Detective did not send an invitation to the account.

  • ENABLED - Indicates that the member account currently contributes data to the behavior graph. For invited accounts, the member account accepted the invitation. For organization accounts in the organization behavior graph, the Detective administrator account enabled the organization account as a member account.

  • ACCEPTED_BUT_DISABLED - The account accepted the invitation, or was enabled by the Detective administrator account, but is prevented from contributing data to the behavior graph. DisabledReason provides the reason why the member account is not enabled.

Invited accounts that declined an invitation or that were removed from the behavior graph are not included. In the organization behavior graph, organization accounts that the Detective administrator account did not enable are not included.

source

pub fn set_status(self, input: Option<MemberStatus>) -> Self

The current membership status of the member account. The status can have one of the following values:

  • INVITED - For invited accounts only. Indicates that the member was sent an invitation but has not yet responded.

  • VERIFICATION_IN_PROGRESS - For invited accounts only, indicates that Detective is verifying that the account identifier and email address provided for the member account match. If they do match, then Detective sends the invitation. If the email address and account identifier don't match, then the member cannot be added to the behavior graph.

    For organization accounts in the organization behavior graph, indicates that Detective is verifying that the account belongs to the organization.

  • VERIFICATION_FAILED - For invited accounts only. Indicates that the account and email address provided for the member account do not match, and Detective did not send an invitation to the account.

  • ENABLED - Indicates that the member account currently contributes data to the behavior graph. For invited accounts, the member account accepted the invitation. For organization accounts in the organization behavior graph, the Detective administrator account enabled the organization account as a member account.

  • ACCEPTED_BUT_DISABLED - The account accepted the invitation, or was enabled by the Detective administrator account, but is prevented from contributing data to the behavior graph. DisabledReason provides the reason why the member account is not enabled.

Invited accounts that declined an invitation or that were removed from the behavior graph are not included. In the organization behavior graph, organization accounts that the Detective administrator account did not enable are not included.

source

pub fn get_status(&self) -> &Option<MemberStatus>

The current membership status of the member account. The status can have one of the following values:

  • INVITED - For invited accounts only. Indicates that the member was sent an invitation but has not yet responded.

  • VERIFICATION_IN_PROGRESS - For invited accounts only, indicates that Detective is verifying that the account identifier and email address provided for the member account match. If they do match, then Detective sends the invitation. If the email address and account identifier don't match, then the member cannot be added to the behavior graph.

    For organization accounts in the organization behavior graph, indicates that Detective is verifying that the account belongs to the organization.

  • VERIFICATION_FAILED - For invited accounts only. Indicates that the account and email address provided for the member account do not match, and Detective did not send an invitation to the account.

  • ENABLED - Indicates that the member account currently contributes data to the behavior graph. For invited accounts, the member account accepted the invitation. For organization accounts in the organization behavior graph, the Detective administrator account enabled the organization account as a member account.

  • ACCEPTED_BUT_DISABLED - The account accepted the invitation, or was enabled by the Detective administrator account, but is prevented from contributing data to the behavior graph. DisabledReason provides the reason why the member account is not enabled.

Invited accounts that declined an invitation or that were removed from the behavior graph are not included. In the organization behavior graph, organization accounts that the Detective administrator account did not enable are not included.

source

pub fn disabled_reason(self, input: MemberDisabledReason) -> Self

For member accounts with a status of ACCEPTED_BUT_DISABLED, the reason that the member account is not enabled.

The reason can have one of the following values:

  • VOLUME_TOO_HIGH - Indicates that adding the member account would cause the data volume for the behavior graph to be too high.

  • VOLUME_UNKNOWN - Indicates that Detective is unable to verify the data volume for the member account. This is usually because the member account is not enrolled in Amazon GuardDuty.

source

pub fn set_disabled_reason(self, input: Option<MemberDisabledReason>) -> Self

For member accounts with a status of ACCEPTED_BUT_DISABLED, the reason that the member account is not enabled.

The reason can have one of the following values:

  • VOLUME_TOO_HIGH - Indicates that adding the member account would cause the data volume for the behavior graph to be too high.

  • VOLUME_UNKNOWN - Indicates that Detective is unable to verify the data volume for the member account. This is usually because the member account is not enrolled in Amazon GuardDuty.

source

pub fn get_disabled_reason(&self) -> &Option<MemberDisabledReason>

For member accounts with a status of ACCEPTED_BUT_DISABLED, the reason that the member account is not enabled.

The reason can have one of the following values:

  • VOLUME_TOO_HIGH - Indicates that adding the member account would cause the data volume for the behavior graph to be too high.

  • VOLUME_UNKNOWN - Indicates that Detective is unable to verify the data volume for the member account. This is usually because the member account is not enrolled in Amazon GuardDuty.

source

pub fn invited_time(self, input: DateTime) -> Self

For invited accounts, the date and time that Detective sent the invitation to the account. The value is an ISO8601 formatted string. For example, 2021-08-18T16:35:56.284Z.

source

pub fn set_invited_time(self, input: Option<DateTime>) -> Self

For invited accounts, the date and time that Detective sent the invitation to the account. The value is an ISO8601 formatted string. For example, 2021-08-18T16:35:56.284Z.

source

pub fn get_invited_time(&self) -> &Option<DateTime>

For invited accounts, the date and time that Detective sent the invitation to the account. The value is an ISO8601 formatted string. For example, 2021-08-18T16:35:56.284Z.

source

pub fn updated_time(self, input: DateTime) -> Self

The date and time that the member account was last updated. The value is an ISO8601 formatted string. For example, 2021-08-18T16:35:56.284Z.

source

pub fn set_updated_time(self, input: Option<DateTime>) -> Self

The date and time that the member account was last updated. The value is an ISO8601 formatted string. For example, 2021-08-18T16:35:56.284Z.

source

pub fn get_updated_time(&self) -> &Option<DateTime>

The date and time that the member account was last updated. The value is an ISO8601 formatted string. For example, 2021-08-18T16:35:56.284Z.

source

pub fn volume_usage_in_bytes(self, input: i64) -> Self

👎Deprecated: This property is deprecated. Use VolumeUsageByDatasourcePackage instead.

The data volume in bytes per day for the member account.

source

pub fn set_volume_usage_in_bytes(self, input: Option<i64>) -> Self

👎Deprecated: This property is deprecated. Use VolumeUsageByDatasourcePackage instead.

The data volume in bytes per day for the member account.

source

pub fn get_volume_usage_in_bytes(&self) -> &Option<i64>

👎Deprecated: This property is deprecated. Use VolumeUsageByDatasourcePackage instead.

The data volume in bytes per day for the member account.

source

pub fn volume_usage_updated_time(self, input: DateTime) -> Self

👎Deprecated: This property is deprecated. Use VolumeUsageByDatasourcePackage instead.

The data and time when the member account data volume was last updated. The value is an ISO8601 formatted string. For example, 2021-08-18T16:35:56.284Z.

source

pub fn set_volume_usage_updated_time(self, input: Option<DateTime>) -> Self

👎Deprecated: This property is deprecated. Use VolumeUsageByDatasourcePackage instead.

The data and time when the member account data volume was last updated. The value is an ISO8601 formatted string. For example, 2021-08-18T16:35:56.284Z.

source

pub fn get_volume_usage_updated_time(&self) -> &Option<DateTime>

👎Deprecated: This property is deprecated. Use VolumeUsageByDatasourcePackage instead.

The data and time when the member account data volume was last updated. The value is an ISO8601 formatted string. For example, 2021-08-18T16:35:56.284Z.

source

pub fn percent_of_graph_utilization(self, input: f64) -> Self

👎Deprecated: This property is deprecated. Use VolumeUsageByDatasourcePackage instead.

The member account data volume as a percentage of the maximum allowed data volume. 0 indicates 0 percent, and 100 indicates 100 percent.

Note that this is not the percentage of the behavior graph data volume.

For example, the data volume for the behavior graph is 80 GB per day. The maximum data volume is 160 GB per day. If the data volume for the member account is 40 GB per day, then PercentOfGraphUtilization is 25. It represents 25% of the maximum allowed data volume.

source

pub fn set_percent_of_graph_utilization(self, input: Option<f64>) -> Self

👎Deprecated: This property is deprecated. Use VolumeUsageByDatasourcePackage instead.

The member account data volume as a percentage of the maximum allowed data volume. 0 indicates 0 percent, and 100 indicates 100 percent.

Note that this is not the percentage of the behavior graph data volume.

For example, the data volume for the behavior graph is 80 GB per day. The maximum data volume is 160 GB per day. If the data volume for the member account is 40 GB per day, then PercentOfGraphUtilization is 25. It represents 25% of the maximum allowed data volume.

source

pub fn get_percent_of_graph_utilization(&self) -> &Option<f64>

👎Deprecated: This property is deprecated. Use VolumeUsageByDatasourcePackage instead.

The member account data volume as a percentage of the maximum allowed data volume. 0 indicates 0 percent, and 100 indicates 100 percent.

Note that this is not the percentage of the behavior graph data volume.

For example, the data volume for the behavior graph is 80 GB per day. The maximum data volume is 160 GB per day. If the data volume for the member account is 40 GB per day, then PercentOfGraphUtilization is 25. It represents 25% of the maximum allowed data volume.

source

pub fn percent_of_graph_utilization_updated_time(self, input: DateTime) -> Self

👎Deprecated: This property is deprecated. Use VolumeUsageByDatasourcePackage instead.

The date and time when the graph utilization percentage was last updated. The value is an ISO8601 formatted string. For example, 2021-08-18T16:35:56.284Z.

source

pub fn set_percent_of_graph_utilization_updated_time( self, input: Option<DateTime> ) -> Self

👎Deprecated: This property is deprecated. Use VolumeUsageByDatasourcePackage instead.

The date and time when the graph utilization percentage was last updated. The value is an ISO8601 formatted string. For example, 2021-08-18T16:35:56.284Z.

source

pub fn get_percent_of_graph_utilization_updated_time(&self) -> &Option<DateTime>

👎Deprecated: This property is deprecated. Use VolumeUsageByDatasourcePackage instead.

The date and time when the graph utilization percentage was last updated. The value is an ISO8601 formatted string. For example, 2021-08-18T16:35:56.284Z.

source

pub fn invitation_type(self, input: InvitationType) -> Self

The type of behavior graph membership.

For an organization account in the organization behavior graph, the type is ORGANIZATION.

For an account that was invited to a behavior graph, the type is INVITATION.

source

pub fn set_invitation_type(self, input: Option<InvitationType>) -> Self

The type of behavior graph membership.

For an organization account in the organization behavior graph, the type is ORGANIZATION.

For an account that was invited to a behavior graph, the type is INVITATION.

source

pub fn get_invitation_type(&self) -> &Option<InvitationType>

The type of behavior graph membership.

For an organization account in the organization behavior graph, the type is ORGANIZATION.

For an account that was invited to a behavior graph, the type is INVITATION.

source

pub fn volume_usage_by_datasource_package( self, k: DatasourcePackage, v: DatasourcePackageUsageInfo ) -> Self

Adds a key-value pair to volume_usage_by_datasource_package.

To override the contents of this collection use set_volume_usage_by_datasource_package.

Details on the volume of usage for each data source package in a behavior graph.

source

pub fn set_volume_usage_by_datasource_package( self, input: Option<HashMap<DatasourcePackage, DatasourcePackageUsageInfo>> ) -> Self

Details on the volume of usage for each data source package in a behavior graph.

source

pub fn get_volume_usage_by_datasource_package( &self ) -> &Option<HashMap<DatasourcePackage, DatasourcePackageUsageInfo>>

Details on the volume of usage for each data source package in a behavior graph.

source

pub fn datasource_package_ingest_states( self, k: DatasourcePackage, v: DatasourcePackageIngestState ) -> Self

Adds a key-value pair to datasource_package_ingest_states.

To override the contents of this collection use set_datasource_package_ingest_states.

The state of a data source package for the behavior graph.

source

pub fn set_datasource_package_ingest_states( self, input: Option<HashMap<DatasourcePackage, DatasourcePackageIngestState>> ) -> Self

The state of a data source package for the behavior graph.

source

pub fn get_datasource_package_ingest_states( &self ) -> &Option<HashMap<DatasourcePackage, DatasourcePackageIngestState>>

The state of a data source package for the behavior graph.

source

pub fn build(self) -> MemberDetail

Consumes the builder and constructs a MemberDetail.

Trait Implementations§

source§

impl Clone for MemberDetailBuilder

source§

fn clone(&self) -> MemberDetailBuilder

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for MemberDetailBuilder

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for MemberDetailBuilder

source§

fn default() -> MemberDetailBuilder

Returns the “default value” for a type. Read more
source§

impl PartialEq for MemberDetailBuilder

source§

fn eq(&self, other: &MemberDetailBuilder) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for MemberDetailBuilder

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> IntoEither for T

source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts 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 more
source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts 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 more
source§

impl<Unshared, Shared> IntoShared<Shared> for Unshared
where Shared: FromUnshared<Unshared>,

source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more