Interface BatchGetFreeTrialInfoResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchGetFreeTrialInfoResponse.Builder,BatchGetFreeTrialInfoResponse>,Inspector2Response.Builder,SdkBuilder<BatchGetFreeTrialInfoResponse.Builder,BatchGetFreeTrialInfoResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- BatchGetFreeTrialInfoResponse
public static interface BatchGetFreeTrialInfoResponse.Builder extends Inspector2Response.Builder, SdkPojo, CopyableBuilder<BatchGetFreeTrialInfoResponse.Builder,BatchGetFreeTrialInfoResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchGetFreeTrialInfoResponse.Builderaccounts(Collection<FreeTrialAccountInfo> accounts)An array of objects that provide Amazon Inspector free trial details for each of the requested accounts.BatchGetFreeTrialInfoResponse.Builderaccounts(Consumer<FreeTrialAccountInfo.Builder>... accounts)An array of objects that provide Amazon Inspector free trial details for each of the requested accounts.BatchGetFreeTrialInfoResponse.Builderaccounts(FreeTrialAccountInfo... accounts)An array of objects that provide Amazon Inspector free trial details for each of the requested accounts.BatchGetFreeTrialInfoResponse.BuilderfailedAccounts(Collection<FreeTrialInfoError> failedAccounts)An array of objects detailing any accounts that free trial data could not be returned for.BatchGetFreeTrialInfoResponse.BuilderfailedAccounts(Consumer<FreeTrialInfoError.Builder>... failedAccounts)An array of objects detailing any accounts that free trial data could not be returned for.BatchGetFreeTrialInfoResponse.BuilderfailedAccounts(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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
accounts
BatchGetFreeTrialInfoResponse.Builder accounts(Collection<FreeTrialAccountInfo> 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
BatchGetFreeTrialInfoResponse.Builder accounts(FreeTrialAccountInfo... 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
BatchGetFreeTrialInfoResponse.Builder accounts(Consumer<FreeTrialAccountInfo.Builder>... 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.Builderavoiding the need to create one manually viaFreeTrialAccountInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#accounts(List.) - 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:
#accounts(java.util.Collection)
-
failedAccounts
BatchGetFreeTrialInfoResponse.Builder failedAccounts(Collection<FreeTrialInfoError> 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(FreeTrialInfoError... 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.Builderavoiding the need to create one manually viaFreeTrialInfoError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#failedAccounts(List.) - 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:
#failedAccounts(java.util.Collection)
-
-