Interface BatchGetFreeTrialInfoResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<BatchGetFreeTrialInfoResponse.Builder,
,BatchGetFreeTrialInfoResponse> Inspector2Response.Builder
,SdkBuilder<BatchGetFreeTrialInfoResponse.Builder,
,BatchGetFreeTrialInfoResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
BatchGetFreeTrialInfoResponse
-
Method Summary
Modifier and TypeMethodDescriptionaccounts
(Collection<FreeTrialAccountInfo> accounts) An array of objects that provide Amazon Inspector free trial details for each of the requested accounts.accounts
(Consumer<FreeTrialAccountInfo.Builder>... accounts) An array of objects that provide Amazon Inspector free trial details for each of the requested accounts.accounts
(FreeTrialAccountInfo... accounts) An array of objects that provide Amazon Inspector free trial details for each of the requested accounts.failedAccounts
(Collection<FreeTrialInfoError> failedAccounts) An array of objects detailing any accounts that free trial data could not be returned for.failedAccounts
(Consumer<FreeTrialInfoError.Builder>... failedAccounts) An array of objects detailing any accounts that free trial data could not be returned for.failedAccounts
(FreeTrialInfoError... failedAccounts) An array of objects detailing any accounts that free trial data could not be returned for.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.inspector2.model.Inspector2Response.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
accounts
An array of objects that provide Amazon Inspector free trial details for each of the requested accounts.
- Parameters:
accounts
- An array of objects that provide Amazon Inspector free trial details for each of the requested accounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accounts
An array of objects that provide Amazon Inspector free trial details for each of the requested accounts.
- Parameters:
accounts
- An array of objects that provide Amazon Inspector free trial details for each of the requested accounts.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accounts
An array of objects that provide Amazon Inspector free trial details for each of the requested accounts.
This is a convenience method that creates an instance of theFreeTrialAccountInfo.Builder
avoiding the need to create one manually viaFreeTrialAccountInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaccounts(List<FreeTrialAccountInfo>)
.- Parameters:
accounts
- a consumer that will call methods onFreeTrialAccountInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failedAccounts
An array of objects detailing any accounts that free trial data could not be returned for.
- Parameters:
failedAccounts
- An array of objects detailing any accounts that free trial data could not be returned for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedAccounts
An array of objects detailing any accounts that free trial data could not be returned for.
- Parameters:
failedAccounts
- An array of objects detailing any accounts that free trial data could not be returned for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedAccounts
BatchGetFreeTrialInfoResponse.Builder failedAccounts(Consumer<FreeTrialInfoError.Builder>... failedAccounts) An array of objects detailing any accounts that free trial data could not be returned for.
This is a convenience method that creates an instance of theFreeTrialInfoError.Builder
avoiding the need to create one manually viaFreeTrialInfoError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofailedAccounts(List<FreeTrialInfoError>)
.- Parameters:
failedAccounts
- a consumer that will call methods onFreeTrialInfoError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-