Struct aws_sdk_detective::model::member_detail::Builder
source · [−]#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for MemberDetail
Implementations
sourceimpl Builder
impl Builder
sourcepub fn account_id(self, input: impl Into<String>) -> Self
pub fn account_id(self, input: impl Into<String>) -> Self
The Amazon Web Services account identifier for the member account.
sourcepub fn set_account_id(self, input: Option<String>) -> Self
pub fn set_account_id(self, input: Option<String>) -> Self
The Amazon Web Services account identifier for the member account.
sourcepub fn email_address(self, input: impl Into<String>) -> Self
pub fn email_address(self, input: impl Into<String>) -> Self
The Amazon Web Services account root user email address for the member account.
sourcepub fn set_email_address(self, input: Option<String>) -> Self
pub fn set_email_address(self, input: Option<String>) -> Self
The Amazon Web Services account root user email address for the member account.
sourcepub fn set_graph_arn(self, input: Option<String>) -> Self
pub fn set_graph_arn(self, input: Option<String>) -> Self
The ARN of the behavior graph.
sourcepub fn master_id(self, input: impl Into<String>) -> Self
pub fn master_id(self, input: impl Into<String>) -> Self
The Amazon Web Services account identifier of the administrator account for the behavior graph.
sourcepub fn set_master_id(self, input: Option<String>) -> Self
pub fn set_master_id(self, input: Option<String>) -> Self
The Amazon Web Services account identifier of the administrator account for the behavior graph.
sourcepub fn administrator_id(self, input: impl Into<String>) -> Self
pub fn administrator_id(self, input: impl Into<String>) -> Self
The Amazon Web Services account identifier of the administrator account for the behavior graph.
sourcepub fn set_administrator_id(self, input: Option<String>) -> Self
pub fn set_administrator_id(self, input: Option<String>) -> Self
The Amazon Web Services account identifier of the administrator account for the behavior graph.
sourcepub fn status(self, input: MemberStatus) -> Self
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.
sourcepub fn set_status(self, input: Option<MemberStatus>) -> Self
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.
sourcepub fn disabled_reason(self, input: MemberDisabledReason) -> Self
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.
sourcepub fn set_disabled_reason(self, input: Option<MemberDisabledReason>) -> Self
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.
sourcepub fn invited_time(self, input: DateTime) -> Self
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
.
sourcepub fn set_invited_time(self, input: Option<DateTime>) -> Self
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
.
sourcepub fn updated_time(self, input: DateTime) -> Self
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
.
sourcepub fn set_updated_time(self, input: Option<DateTime>) -> Self
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
.
sourcepub fn volume_usage_in_bytes(self, input: i64) -> Self
pub fn volume_usage_in_bytes(self, input: i64) -> Self
The data volume in bytes per day for the member account.
sourcepub fn set_volume_usage_in_bytes(self, input: Option<i64>) -> Self
pub fn set_volume_usage_in_bytes(self, input: Option<i64>) -> Self
The data volume in bytes per day for the member account.
sourcepub fn volume_usage_updated_time(self, input: DateTime) -> Self
pub fn volume_usage_updated_time(self, input: DateTime) -> Self
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
.
sourcepub fn set_volume_usage_updated_time(self, input: Option<DateTime>) -> Self
pub fn set_volume_usage_updated_time(self, input: Option<DateTime>) -> Self
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
.
sourcepub fn percent_of_graph_utilization(self, input: f64) -> Self
pub fn percent_of_graph_utilization(self, input: f64) -> Self
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.
sourcepub fn set_percent_of_graph_utilization(self, input: Option<f64>) -> Self
pub fn set_percent_of_graph_utilization(self, input: Option<f64>) -> Self
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.
sourcepub fn percent_of_graph_utilization_updated_time(self, input: DateTime) -> Self
pub fn percent_of_graph_utilization_updated_time(self, input: DateTime) -> Self
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
.
sourcepub fn set_percent_of_graph_utilization_updated_time(
self,
input: Option<DateTime>
) -> Self
pub fn set_percent_of_graph_utilization_updated_time(
self,
input: Option<DateTime>
) -> Self
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
.
sourcepub fn invitation_type(self, input: InvitationType) -> Self
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
.
sourcepub fn set_invitation_type(self, input: Option<InvitationType>) -> Self
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
.
sourcepub fn build(self) -> MemberDetail
pub fn build(self) -> MemberDetail
Consumes the builder and constructs a MemberDetail
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
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
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more