Class RemoteAccountDetails
- java.lang.Object
-
- software.amazon.awssdk.services.guardduty.model.RemoteAccountDetails
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RemoteAccountDetails.Builder,RemoteAccountDetails>
@Generated("software.amazon.awssdk:codegen") public final class RemoteAccountDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RemoteAccountDetails.Builder,RemoteAccountDetails>
Contains details about the remote Amazon Web Services account that made the API call.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRemoteAccountDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccountId()The Amazon Web Services account ID of the remote API caller.Booleanaffiliated()Details on whether the Amazon Web Services account of the remote API caller is related to your GuardDuty environment.static RemoteAccountDetails.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends RemoteAccountDetails.Builder>serializableBuilderClass()RemoteAccountDetails.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
accountId
public final String accountId()
The Amazon Web Services account ID of the remote API caller.
- Returns:
- The Amazon Web Services account ID of the remote API caller.
-
affiliated
public final Boolean affiliated()
Details on whether the Amazon Web Services account of the remote API caller is related to your GuardDuty environment. If this value is
Truethe API caller is affiliated to your account in some way. If it isFalsethe API caller is from outside your environment.- Returns:
- Details on whether the Amazon Web Services account of the remote API caller is related to your GuardDuty
environment. If this value is
Truethe API caller is affiliated to your account in some way. If it isFalsethe API caller is from outside your environment.
-
toBuilder
public RemoteAccountDetails.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RemoteAccountDetails.Builder,RemoteAccountDetails>
-
builder
public static RemoteAccountDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends RemoteAccountDetails.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String 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.
-
-