Interface CreateMulticastGroupRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateMulticastGroupRequest.Builder,
,CreateMulticastGroupRequest> IotWirelessRequest.Builder
,SdkBuilder<CreateMulticastGroupRequest.Builder,
,CreateMulticastGroupRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateMulticastGroupRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientRequestToken
(String clientRequestToken) Each resource must have a unique client request token.description
(String description) The description of the multicast group.loRaWAN
(Consumer<LoRaWANMulticast.Builder> loRaWAN) Sets the value of the LoRaWAN property for this object.loRaWAN
(LoRaWANMulticast loRaWAN) Sets the value of the LoRaWAN property for this object.Sets the value of the Name property for this object.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tags
(Collection<Tag> tags) Sets the value of the Tags property for this object.tags
(Consumer<Tag.Builder>... tags) Sets the value of the Tags property for this object.Sets the value of the Tags property for this object.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 Details
-
name
Sets the value of the Name property for this object.- Parameters:
name
- The new value for the Name property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the multicast group.
- Parameters:
description
- The description of the multicast group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
loRaWAN
Sets the value of the LoRaWAN property for this object.- Parameters:
loRaWAN
- The new value for the LoRaWAN property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loRaWAN
Sets the value of the LoRaWAN property for this object. This is a convenience method that creates an instance of theLoRaWANMulticast.Builder
avoiding the need to create one manually viaLoRaWANMulticast.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toloRaWAN(LoRaWANMulticast)
.- Parameters:
loRaWAN
- a consumer that will call methods onLoRaWANMulticast.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
Sets the value of the Tags property for this object.- Parameters:
tags
- The new value for the Tags property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Sets the value of the Tags property for this object.- Parameters:
tags
- The new value for the Tags property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Sets the value of the Tags property for this object. This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- 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:
-
overrideConfiguration
CreateMulticastGroupRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateMulticastGroupRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-