Interface EnableApplicationStatusCheckSuppressionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<EnableApplicationStatusCheckSuppressionResponse.Builder,,EnableApplicationStatusCheckSuppressionResponse> Ec2Response.Builder,SdkBuilder<EnableApplicationStatusCheckSuppressionResponse.Builder,,EnableApplicationStatusCheckSuppressionResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
EnableApplicationStatusCheckSuppressionResponse
@Mutable
@NotThreadSafe
public static interface EnableApplicationStatusCheckSuppressionResponse.Builder
extends Ec2Response.Builder, SdkPojo, CopyableBuilder<EnableApplicationStatusCheckSuppressionResponse.Builder,EnableApplicationStatusCheckSuppressionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionsuccessfulResults(Collection<SuccessfulSuppressionResponseObject> successfulResults) The instances for which suppression was successfully enabled.successfulResults(Consumer<SuccessfulSuppressionResponseObject.Builder>... successfulResults) The instances for which suppression was successfully enabled.successfulResults(SuccessfulSuppressionResponseObject... successfulResults) The instances for which suppression was successfully enabled.unsuccessfulResults(Collection<UnsuccessfulSuppressionResponseObject> unsuccessfulResults) The instances for which suppression failed to be enabled.unsuccessfulResults(Consumer<UnsuccessfulSuppressionResponseObject.Builder>... unsuccessfulResults) The instances for which suppression failed to be enabled.unsuccessfulResults(UnsuccessfulSuppressionResponseObject... unsuccessfulResults) The instances for which suppression failed to be enabled.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
successfulResults
EnableApplicationStatusCheckSuppressionResponse.Builder successfulResults(Collection<SuccessfulSuppressionResponseObject> successfulResults) The instances for which suppression was successfully enabled.
- Parameters:
successfulResults- The instances for which suppression was successfully enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successfulResults
EnableApplicationStatusCheckSuppressionResponse.Builder successfulResults(SuccessfulSuppressionResponseObject... successfulResults) The instances for which suppression was successfully enabled.
- Parameters:
successfulResults- The instances for which suppression was successfully enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successfulResults
EnableApplicationStatusCheckSuppressionResponse.Builder successfulResults(Consumer<SuccessfulSuppressionResponseObject.Builder>... successfulResults) The instances for which suppression was successfully enabled.
This is a convenience method that creates an instance of theSuccessfulSuppressionResponseObject.Builderavoiding the need to create one manually viaSuccessfulSuppressionResponseObject.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosuccessfulResults(List<SuccessfulSuppressionResponseObject>).- Parameters:
successfulResults- a consumer that will call methods onSuccessfulSuppressionResponseObject.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
unsuccessfulResults
EnableApplicationStatusCheckSuppressionResponse.Builder unsuccessfulResults(Collection<UnsuccessfulSuppressionResponseObject> unsuccessfulResults) The instances for which suppression failed to be enabled.
- Parameters:
unsuccessfulResults- The instances for which suppression failed to be enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unsuccessfulResults
EnableApplicationStatusCheckSuppressionResponse.Builder unsuccessfulResults(UnsuccessfulSuppressionResponseObject... unsuccessfulResults) The instances for which suppression failed to be enabled.
- Parameters:
unsuccessfulResults- The instances for which suppression failed to be enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unsuccessfulResults
EnableApplicationStatusCheckSuppressionResponse.Builder unsuccessfulResults(Consumer<UnsuccessfulSuppressionResponseObject.Builder>... unsuccessfulResults) The instances for which suppression failed to be enabled.
This is a convenience method that creates an instance of theUnsuccessfulSuppressionResponseObject.Builderavoiding the need to create one manually viaUnsuccessfulSuppressionResponseObject.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tounsuccessfulResults(List<UnsuccessfulSuppressionResponseObject>).- Parameters:
unsuccessfulResults- a consumer that will call methods onUnsuccessfulSuppressionResponseObject.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-