Interface IpamDiscoveredAccount.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<IpamDiscoveredAccount.Builder,IpamDiscoveredAccount>,SdkBuilder<IpamDiscoveredAccount.Builder,IpamDiscoveredAccount>,SdkPojo
- Enclosing class:
- IpamDiscoveredAccount
@Mutable @NotThreadSafe public static interface IpamDiscoveredAccount.Builder extends SdkPojo, CopyableBuilder<IpamDiscoveredAccount.Builder,IpamDiscoveredAccount>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description IpamDiscoveredAccount.BuilderaccountId(String accountId)The account ID.IpamDiscoveredAccount.BuilderdiscoveryRegion(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.IpamDiscoveredAccount.BuilderfailureReason(IpamDiscoveryFailureReason failureReason)The resource discovery failure reason.IpamDiscoveredAccount.BuilderlastAttemptedDiscoveryTime(Instant lastAttemptedDiscoveryTime)The last attempted resource discovery time.IpamDiscoveredAccount.BuilderlastSuccessfulDiscoveryTime(Instant lastSuccessfulDiscoveryTime)The last successful resource discovery time.IpamDiscoveredAccount.BuilderorganizationalUnitId(String organizationalUnitId)The ID of an Organizational Unit in Amazon Web Services Organizations.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
accountId
IpamDiscoveredAccount.Builder accountId(String 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
IpamDiscoveredAccount.Builder discoveryRegion(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.
- 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
IpamDiscoveredAccount.Builder failureReason(IpamDiscoveryFailureReason 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:
failureReason(IpamDiscoveryFailureReason)
-
lastAttemptedDiscoveryTime
IpamDiscoveredAccount.Builder lastAttemptedDiscoveryTime(Instant 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
IpamDiscoveredAccount.Builder lastSuccessfulDiscoveryTime(Instant 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.
-
organizationalUnitId
IpamDiscoveredAccount.Builder organizationalUnitId(String organizationalUnitId)
The ID of an Organizational Unit in Amazon Web Services Organizations.
- Parameters:
organizationalUnitId- The ID of an Organizational Unit in Amazon Web Services Organizations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-