Interface RenewOfferingResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<RenewOfferingResponse.Builder,,RenewOfferingResponse> DeviceFarmResponse.Builder,SdkBuilder<RenewOfferingResponse.Builder,,RenewOfferingResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
RenewOfferingResponse
public static interface RenewOfferingResponse.Builder
extends DeviceFarmResponse.Builder, SdkPojo, CopyableBuilder<RenewOfferingResponse.Builder,RenewOfferingResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault RenewOfferingResponse.BuilderofferingTransaction(Consumer<OfferingTransaction.Builder> offeringTransaction) Represents the status of the offering transaction for the renewal.offeringTransaction(OfferingTransaction offeringTransaction) Represents the status of the offering transaction for the renewal.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.devicefarm.model.DeviceFarmResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkHttpResponse
-
Method Details
-
offeringTransaction
Represents the status of the offering transaction for the renewal.
- Parameters:
offeringTransaction- Represents the status of the offering transaction for the renewal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
offeringTransaction
default RenewOfferingResponse.Builder offeringTransaction(Consumer<OfferingTransaction.Builder> offeringTransaction) Represents the status of the offering transaction for the renewal.
This is a convenience method that creates an instance of theOfferingTransaction.Builderavoiding the need to create one manually viaOfferingTransaction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toofferingTransaction(OfferingTransaction).- Parameters:
offeringTransaction- a consumer that will call methods onOfferingTransaction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-