Interface DeregisterImageResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DeregisterImageResponse.Builder,DeregisterImageResponse>,Ec2Response.Builder,SdkBuilder<DeregisterImageResponse.Builder,DeregisterImageResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DeregisterImageResponse
@Mutable @NotThreadSafe public static interface DeregisterImageResponse.Builder extends Ec2Response.Builder, SdkPojo, CopyableBuilder<DeregisterImageResponse.Builder,DeregisterImageResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeregisterImageResponse.BuilderdeleteSnapshotResults(Collection<DeleteSnapshotReturnCode> deleteSnapshotResults)The deletion result for each snapshot associated with the AMI, including the snapshot ID and its success or error code.DeregisterImageResponse.BuilderdeleteSnapshotResults(Consumer<DeleteSnapshotReturnCode.Builder>... deleteSnapshotResults)The deletion result for each snapshot associated with the AMI, including the snapshot ID and its success or error code.DeregisterImageResponse.BuilderdeleteSnapshotResults(DeleteSnapshotReturnCode... deleteSnapshotResults)The deletion result for each snapshot associated with the AMI, including the snapshot ID and its success or error code.DeregisterImageResponse.BuilderreturnValue(Boolean returnValue)Returnstrueif the request succeeds; otherwise, it returns an error.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.ec2.model.Ec2Response.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 Detail
-
returnValue
DeregisterImageResponse.Builder returnValue(Boolean returnValue)
Returns
trueif the request succeeds; otherwise, it returns an error.- Parameters:
returnValue- Returnstrueif the request succeeds; otherwise, it returns an error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deleteSnapshotResults
DeregisterImageResponse.Builder deleteSnapshotResults(Collection<DeleteSnapshotReturnCode> deleteSnapshotResults)
The deletion result for each snapshot associated with the AMI, including the snapshot ID and its success or error code.
- Parameters:
deleteSnapshotResults- The deletion result for each snapshot associated with the AMI, including the snapshot ID and its success or error code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deleteSnapshotResults
DeregisterImageResponse.Builder deleteSnapshotResults(DeleteSnapshotReturnCode... deleteSnapshotResults)
The deletion result for each snapshot associated with the AMI, including the snapshot ID and its success or error code.
- Parameters:
deleteSnapshotResults- The deletion result for each snapshot associated with the AMI, including the snapshot ID and its success or error code.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deleteSnapshotResults
DeregisterImageResponse.Builder deleteSnapshotResults(Consumer<DeleteSnapshotReturnCode.Builder>... deleteSnapshotResults)
The deletion result for each snapshot associated with the AMI, including the snapshot ID and its success or error code.
This is a convenience method that creates an instance of theDeleteSnapshotReturnCode.Builderavoiding the need to create one manually viaDeleteSnapshotReturnCode.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#deleteSnapshotResults(List.) - Parameters:
deleteSnapshotResults- a consumer that will call methods onDeleteSnapshotReturnCode.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#deleteSnapshotResults(java.util.Collection)
-
-