Interface Account.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Account.Builder,,Account> SdkBuilder<Account.Builder,,Account> SdkPojo
- Enclosing class:
Account
-
Method Summary
Modifier and TypeMethodDescriptionThe 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.resourceStatus(ResourceStatus resourceStatus) Details of the status of Amazon Inspector scans by resource type.The status of Amazon Inspector for the account.The status of Amazon Inspector for the account.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 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
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
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:
-
status
The status of Amazon Inspector for the account.
- Parameters:
status- The status of Amazon Inspector for the account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of Amazon Inspector for the account.
- Parameters:
status- The status of Amazon Inspector for the account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-