Interface CreateQueueResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateQueueResponse.Builder,CreateQueueResponse>,PcsResponse.Builder,SdkBuilder<CreateQueueResponse.Builder,CreateQueueResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- CreateQueueResponse
public static interface CreateQueueResponse.Builder extends PcsResponse.Builder, SdkPojo, CopyableBuilder<CreateQueueResponse.Builder,CreateQueueResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateQueueResponse.Builderqueue(Consumer<Queue.Builder> queue)Sets the value of the Queue property for this object.CreateQueueResponse.Builderqueue(Queue queue)Sets the value of the Queue property for this object.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.pcs.model.PcsResponse.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 Detail
-
queue
CreateQueueResponse.Builder queue(Queue 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
default CreateQueueResponse.Builder queue(Consumer<Queue.Builder> 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:
queue(Queue)
-
-