Interface GetQueueResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetQueueResponse.Builder,,GetQueueResponse> PcsResponse.Builder,SdkBuilder<GetQueueResponse.Builder,,GetQueueResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetQueueResponse
@Mutable
@NotThreadSafe
public static interface GetQueueResponse.Builder
extends PcsResponse.Builder, SdkPojo, CopyableBuilder<GetQueueResponse.Builder,GetQueueResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetQueueResponse.Builderqueue(Consumer<Queue.Builder> queue) Sets the value of the Queue property for this object.Sets the value of the Queue property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.pcs.model.PcsResponse.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
-
queue
Sets the value of the Queue property for this object.- Parameters:
queue- The new value for the Queue property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queue
Sets the value of the Queue property for this object. This is a convenience method that creates an instance of theQueue.Builderavoiding the need to create one manually viaQueue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toqueue(Queue).- Parameters:
queue- a consumer that will call methods onQueue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-