Class MemberDetail
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<MemberDetail.Builder,
MemberDetail>
Details about a member account in a behavior graph.
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
The Amazon Web Services account identifier for the member account.final String
The Amazon Web Services account identifier of the administrator account for the behavior graph.static MemberDetail.Builder
builder()
The state of a data source package for the behavior graph.The state of a data source package for the behavior graph.final MemberDisabledReason
For member accounts with a status ofACCEPTED_BUT_DISABLED
, the reason that the member account is not enabled.final String
For member accounts with a status ofACCEPTED_BUT_DISABLED
, the reason that the member account is not enabled.final String
The Amazon Web Services account root user email address for the member account.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final String
graphArn()
The ARN of the behavior graph.final boolean
For responses, this returns true if the service returned a value for the DatasourcePackageIngestStates property.final int
hashCode()
final boolean
For responses, this returns true if the service returned a value for the VolumeUsageByDatasourcePackage property.final InvitationType
The type of behavior graph membership.final String
The type of behavior graph membership.final Instant
For invited accounts, the date and time that Detective sent the invitation to the account.final String
masterId()
Deprecated.This property is deprecated.final Double
Deprecated.This property is deprecated.final Instant
Deprecated.This property is deprecated.static Class
<? extends MemberDetail.Builder> final MemberStatus
status()
The current membership status of the member account.final String
The current membership status of the member account.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final Instant
The date and time that the member account was last updated.Details on the volume of usage for each data source package in a behavior graph.final Map
<String, DatasourcePackageUsageInfo> Details on the volume of usage for each data source package in a behavior graph.final Long
Deprecated.This property is deprecated.final Instant
Deprecated.This property is deprecated.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
accountId
The Amazon Web Services account identifier for the member account.
- Returns:
- The Amazon Web Services account identifier for the member account.
-
emailAddress
The Amazon Web Services account root user email address for the member account.
- Returns:
- The Amazon Web Services account root user email address for the member account.
-
graphArn
The ARN of the behavior graph.
- Returns:
- The ARN of the behavior graph.
-
masterId
Deprecated.This property is deprecated. Use AdministratorId instead.The Amazon Web Services account identifier of the administrator account for the behavior graph.
- Returns:
- The Amazon Web Services account identifier of the administrator account for the behavior graph.
-
administratorId
The Amazon Web Services account identifier of the administrator account for the behavior graph.
- Returns:
- The Amazon Web Services account identifier of the administrator account for the behavior graph.
-
status
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.
If the service returns an enum value that is not available in the current SDK version,
status
will returnMemberStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- 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.
-
- See Also:
-
-
statusAsString
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.
If the service returns an enum value that is not available in the current SDK version,
status
will returnMemberStatus.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromstatusAsString()
.- Returns:
- 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.
-
- See Also:
-
-
disabledReason
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.
If the service returns an enum value that is not available in the current SDK version,
disabledReason
will returnMemberDisabledReason.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromdisabledReasonAsString()
.- Returns:
- 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.
-
- See Also:
-
-
disabledReasonAsString
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.
If the service returns an enum value that is not available in the current SDK version,
disabledReason
will returnMemberDisabledReason.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromdisabledReasonAsString()
.- Returns:
- 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.
-
- See Also:
-
-
invitedTime
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
.- Returns:
- 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
.
-
updatedTime
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
.- Returns:
- 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
.
-
volumeUsageInBytes
Deprecated.This property is deprecated. Use VolumeUsageByDatasourcePackage instead.The data volume in bytes per day for the member account.
- Returns:
- The data volume in bytes per day for the member account.
-
volumeUsageUpdatedTime
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
.- Returns:
- 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
.
-
percentOfGraphUtilization
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.- Returns:
- 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.
-
percentOfGraphUtilizationUpdatedTime
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
.- Returns:
- 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
.
-
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
.If the service returns an enum value that is not available in the current SDK version,
invitationType
will returnInvitationType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frominvitationTypeAsString()
.- Returns:
- 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
. - See Also:
-
invitationTypeAsString
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
.If the service returns an enum value that is not available in the current SDK version,
invitationType
will returnInvitationType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available frominvitationTypeAsString()
.- Returns:
- 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
. - See Also:
-
volumeUsageByDatasourcePackage
Details on the volume of usage for each data source package in a behavior graph.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasVolumeUsageByDatasourcePackage()
method.- Returns:
- Details on the volume of usage for each data source package in a behavior graph.
-
hasVolumeUsageByDatasourcePackage
public final boolean hasVolumeUsageByDatasourcePackage()For responses, this returns true if the service returned a value for the VolumeUsageByDatasourcePackage property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
volumeUsageByDatasourcePackageAsStrings
Details on the volume of usage for each data source package in a behavior graph.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasVolumeUsageByDatasourcePackage()
method.- Returns:
- Details on the volume of usage for each data source package in a behavior graph.
-
datasourcePackageIngestStates
The state of a data source package for the behavior graph.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasDatasourcePackageIngestStates()
method.- Returns:
- The state of a data source package for the behavior graph.
-
hasDatasourcePackageIngestStates
public final boolean hasDatasourcePackageIngestStates()For responses, this returns true if the service returned a value for the DatasourcePackageIngestStates property. This DOES NOT check that the value is non-empty (for which, you should check theisEmpty()
method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified. -
datasourcePackageIngestStatesAsStrings
The state of a data source package for the behavior graph.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the
hasDatasourcePackageIngestStates()
method.- Returns:
- The state of a data source package for the behavior graph.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<MemberDetail.Builder,
MemberDetail> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-