Interface CreateWirelessGatewayTaskDefinitionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateWirelessGatewayTaskDefinitionRequest.Builder,CreateWirelessGatewayTaskDefinitionRequest>,IotWirelessRequest.Builder,SdkBuilder<CreateWirelessGatewayTaskDefinitionRequest.Builder,CreateWirelessGatewayTaskDefinitionRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateWirelessGatewayTaskDefinitionRequest
public static interface CreateWirelessGatewayTaskDefinitionRequest.Builder extends IotWirelessRequest.Builder, SdkPojo, CopyableBuilder<CreateWirelessGatewayTaskDefinitionRequest.Builder,CreateWirelessGatewayTaskDefinitionRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.iotwireless.model.IotWirelessRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
autoCreateTasks
CreateWirelessGatewayTaskDefinitionRequest.Builder autoCreateTasks(Boolean autoCreateTasks)
Whether to automatically create tasks using this task definition for all gateways with the specified current version. If
false, the task must me created by callingCreateWirelessGatewayTask.- Parameters:
autoCreateTasks- Whether to automatically create tasks using this task definition for all gateways with the specified current version. Iffalse, the task must me created by callingCreateWirelessGatewayTask.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
CreateWirelessGatewayTaskDefinitionRequest.Builder name(String name)
The name of the new resource.
- Parameters:
name- The name of the new resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
update
CreateWirelessGatewayTaskDefinitionRequest.Builder update(UpdateWirelessGatewayTaskCreate update)
Information about the gateways to update.
- Parameters:
update- Information about the gateways to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
update
default CreateWirelessGatewayTaskDefinitionRequest.Builder update(Consumer<UpdateWirelessGatewayTaskCreate.Builder> update)
Information about the gateways to update.
This is a convenience method that creates an instance of theUpdateWirelessGatewayTaskCreate.Builderavoiding the need to create one manually viaUpdateWirelessGatewayTaskCreate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toupdate(UpdateWirelessGatewayTaskCreate).- Parameters:
update- a consumer that will call methods onUpdateWirelessGatewayTaskCreate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
update(UpdateWirelessGatewayTaskCreate)
-
clientRequestToken
CreateWirelessGatewayTaskDefinitionRequest.Builder clientRequestToken(String clientRequestToken)
Each resource must have a unique client request token. The client token is used to implement idempotency. It ensures that the request completes no more than one time. If you retry a request with the same token and the same parameters, the request will complete successfully. However, if you try to create a new resource using the same token but different parameters, an HTTP 409 conflict occurs. If you omit this value, AWS SDKs will automatically generate a unique client request. For more information about idempotency, see Ensuring idempotency in Amazon EC2 API requests.
- Parameters:
clientRequestToken- Each resource must have a unique client request token. The client token is used to implement idempotency. It ensures that the request completes no more than one time. If you retry a request with the same token and the same parameters, the request will complete successfully. However, if you try to create a new resource using the same token but different parameters, an HTTP 409 conflict occurs. If you omit this value, AWS SDKs will automatically generate a unique client request. For more information about idempotency, see Ensuring idempotency in Amazon EC2 API requests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateWirelessGatewayTaskDefinitionRequest.Builder tags(Collection<Tag> tags)
The tags to attach to the specified resource. Tags are metadata that you can use to manage a resource.
- Parameters:
tags- The tags to attach to the specified resource. Tags are metadata that you can use to manage a resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateWirelessGatewayTaskDefinitionRequest.Builder tags(Tag... tags)
The tags to attach to the specified resource. Tags are metadata that you can use to manage a resource.
- Parameters:
tags- The tags to attach to the specified resource. Tags are metadata that you can use to manage a resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateWirelessGatewayTaskDefinitionRequest.Builder tags(Consumer<Tag.Builder>... tags)
The tags to attach to the specified resource. Tags are metadata that you can use to manage a resource.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection)
-
overrideConfiguration
CreateWirelessGatewayTaskDefinitionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateWirelessGatewayTaskDefinitionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-