Interface Account.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Account.Builder,Account>,SdkBuilder<Account.Builder,Account>,SdkPojo
- Enclosing class:
- Account
public static interface Account.Builder extends SdkPojo, CopyableBuilder<Account.Builder,Account>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Account.BuilderaccountId(String accountId)The ID of the Amazon Web Services account.default Account.BuilderresourceStatus(Consumer<ResourceStatus.Builder> resourceStatus)Details of the status of Amazon Inspector scans by resource type.Account.BuilderresourceStatus(ResourceStatus resourceStatus)Details of the status of Amazon Inspector scans by resource type.Account.Builderstatus(String status)The status of Amazon Inspector for the account.Account.Builderstatus(Status status)The status of Amazon Inspector for the account.-
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, sdkFields
-
-
-
-
Method Detail
-
accountId
Account.Builder accountId(String accountId)
The ID of the Amazon Web Services account.
- Parameters:
accountId- The ID of the Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceStatus
Account.Builder resourceStatus(ResourceStatus resourceStatus)
Details of the status of Amazon Inspector scans by resource type.
- Parameters:
resourceStatus- Details of the status of Amazon Inspector scans by resource type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceStatus
default Account.Builder resourceStatus(Consumer<ResourceStatus.Builder> resourceStatus)
Details of the status of Amazon Inspector scans by resource type.
This is a convenience method that creates an instance of theResourceStatus.Builderavoiding the need to create one manually viaResourceStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresourceStatus(ResourceStatus).- Parameters:
resourceStatus- a consumer that will call methods onResourceStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
resourceStatus(ResourceStatus)
-
status
Account.Builder status(String status)
The status of Amazon Inspector for the account.
-
status
Account.Builder status(Status status)
The status of Amazon Inspector for the account.
-
-