Interface BatchUpdateRuleResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchUpdateRuleResponse.Builder,,BatchUpdateRuleResponse> SdkBuilder<BatchUpdateRuleResponse.Builder,,BatchUpdateRuleResponse> SdkPojo,SdkResponse.Builder,VpcLatticeResponse.Builder
- Enclosing class:
BatchUpdateRuleResponse
public static interface BatchUpdateRuleResponse.Builder
extends VpcLatticeResponse.Builder, SdkPojo, CopyableBuilder<BatchUpdateRuleResponse.Builder,BatchUpdateRuleResponse>
-
Method Summary
Modifier and TypeMethodDescriptionsuccessful(Collection<RuleUpdateSuccess> successful) The rules that were successfully updated.successful(Consumer<RuleUpdateSuccess.Builder>... successful) The rules that were successfully updated.successful(RuleUpdateSuccess... successful) The rules that were successfully updated.unsuccessful(Collection<RuleUpdateFailure> unsuccessful) The rules that the operation couldn't update.unsuccessful(Consumer<RuleUpdateFailure.Builder>... unsuccessful) The rules that the operation couldn't update.unsuccessful(RuleUpdateFailure... unsuccessful) The rules that the operation couldn't update.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.vpclattice.model.VpcLatticeResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
successful
The rules that were successfully updated.
- Parameters:
successful- The rules that were successfully updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successful
The rules that were successfully updated.
- Parameters:
successful- The rules that were successfully updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successful
The rules that were successfully updated.
This is a convenience method that creates an instance of theRuleUpdateSuccess.Builderavoiding the need to create one manually viaRuleUpdateSuccess.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosuccessful(List<RuleUpdateSuccess>).- Parameters:
successful- a consumer that will call methods onRuleUpdateSuccess.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
unsuccessful
The rules that the operation couldn't update.
- Parameters:
unsuccessful- The rules that the operation couldn't update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unsuccessful
The rules that the operation couldn't update.
- Parameters:
unsuccessful- The rules that the operation couldn't update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unsuccessful
The rules that the operation couldn't update.
This is a convenience method that creates an instance of theRuleUpdateFailure.Builderavoiding the need to create one manually viaRuleUpdateFailure.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tounsuccessful(List<RuleUpdateFailure>).- Parameters:
unsuccessful- a consumer that will call methods onRuleUpdateFailure.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-