Interface IpamDiscoveredAccount.Builder
- All Superinterfaces:
 Buildable,CopyableBuilder<IpamDiscoveredAccount.Builder,,IpamDiscoveredAccount> SdkBuilder<IpamDiscoveredAccount.Builder,,IpamDiscoveredAccount> SdkPojo
- Enclosing class:
 IpamDiscoveredAccount
public static interface IpamDiscoveredAccount.Builder
extends SdkPojo, CopyableBuilder<IpamDiscoveredAccount.Builder,IpamDiscoveredAccount> 
- 
Method Summary
Modifier and TypeMethodDescriptionThe account ID.discoveryRegion(String discoveryRegion) The Amazon Web Services Region that the account information is returned from.default IpamDiscoveredAccount.BuilderfailureReason(Consumer<IpamDiscoveryFailureReason.Builder> failureReason) The resource discovery failure reason.failureReason(IpamDiscoveryFailureReason failureReason) The resource discovery failure reason.lastAttemptedDiscoveryTime(Instant lastAttemptedDiscoveryTime) The last attempted resource discovery time.lastSuccessfulDiscoveryTime(Instant lastSuccessfulDiscoveryTime) The last successful resource discovery time.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields 
- 
Method Details
- 
accountId
The account ID.
- Parameters:
 accountId- The account ID.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
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.
- Parameters:
 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:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
failureReason
The resource discovery failure reason.
- Parameters:
 failureReason- The resource discovery failure reason.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
failureReason
default IpamDiscoveredAccount.Builder failureReason(Consumer<IpamDiscoveryFailureReason.Builder> failureReason) The resource discovery failure reason.
This is a convenience method that creates an instance of theIpamDiscoveryFailureReason.Builderavoiding the need to create one manually viaIpamDiscoveryFailureReason.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailureReason(IpamDiscoveryFailureReason).- Parameters:
 failureReason- a consumer that will call methods onIpamDiscoveryFailureReason.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
lastAttemptedDiscoveryTime
The last attempted resource discovery time.
- Parameters:
 lastAttemptedDiscoveryTime- The last attempted resource discovery time.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
lastSuccessfulDiscoveryTime
The last successful resource discovery time.
- Parameters:
 lastSuccessfulDiscoveryTime- The last successful resource discovery time.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 
 -