Class IpamDiscoveredAccount
- java.lang.Object
-
- software.amazon.awssdk.services.ec2.model.IpamDiscoveredAccount
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<IpamDiscoveredAccount.Builder,IpamDiscoveredAccount>
@Generated("software.amazon.awssdk:codegen") public final class IpamDiscoveredAccount extends Object implements SdkPojo, Serializable, ToCopyableBuilder<IpamDiscoveredAccount.Builder,IpamDiscoveredAccount>
An IPAM discovered account. A discovered account is an Amazon Web Services account that is monitored under a resource discovery. If you have integrated IPAM with Amazon Web Services Organizations, all accounts in the organization are discovered accounts.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
IpamDiscoveredAccount.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
accountId()
The account ID.static IpamDiscoveredAccount.Builder
builder()
String
discoveryRegion()
The Amazon Web Services Region that the account information is returned from.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
IpamDiscoveryFailureReason
failureReason()
The resource discovery failure reason.<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Instant
lastAttemptedDiscoveryTime()
The last attempted resource discovery time.Instant
lastSuccessfulDiscoveryTime()
The last successful resource discovery time.List<SdkField<?>>
sdkFields()
static Class<? extends IpamDiscoveredAccount.Builder>
serializableBuilderClass()
IpamDiscoveredAccount.Builder
toBuilder()
String
toString()
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 account ID.
- Returns:
- The account ID.
-
discoveryRegion
public final String discoveryRegion()
The Amazon Web Services Region that the account information is returned from. An account can be discovered in multiple regions and will have a separate discovered account for each Region.
- Returns:
- The Amazon Web Services Region that the account information is returned from. An account can be discovered in multiple regions and will have a separate discovered account for each Region.
-
failureReason
public final IpamDiscoveryFailureReason failureReason()
The resource discovery failure reason.
- Returns:
- The resource discovery failure reason.
-
lastAttemptedDiscoveryTime
public final Instant lastAttemptedDiscoveryTime()
The last attempted resource discovery time.
- Returns:
- The last attempted resource discovery time.
-
lastSuccessfulDiscoveryTime
public final Instant lastSuccessfulDiscoveryTime()
The last successful resource discovery time.
- Returns:
- The last successful resource discovery time.
-
toBuilder
public IpamDiscoveredAccount.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<IpamDiscoveredAccount.Builder,IpamDiscoveredAccount>
-
builder
public static IpamDiscoveredAccount.Builder builder()
-
serializableBuilderClass
public static Class<? extends IpamDiscoveredAccount.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in 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.
-
-