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.Builder
offeringTransaction
(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
copy
Methods inherited from interface software.amazon.awssdk.services.devicefarm.model.DeviceFarmResponse.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 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.Builder
avoiding the need to create one manually viaOfferingTransaction.builder()
.When the
Consumer
completes,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:
-