Interface CreateServiceProfileRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateServiceProfileRequest.Builder,,CreateServiceProfileRequest> IotWirelessRequest.Builder,SdkBuilder<CreateServiceProfileRequest.Builder,,CreateServiceProfileRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateServiceProfileRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientRequestToken(String clientRequestToken) Each resource must have a unique client request token.loRaWAN(Consumer<LoRaWANServiceProfile.Builder> loRaWAN) The service profile information to use to create the service profile.loRaWAN(LoRaWANServiceProfile loRaWAN) The service profile information to use to create the service profile.The name of the new resource.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tags(Collection<Tag> tags) The tags to attach to the new service profile.tags(Consumer<Tag.Builder>... tags) The tags to attach to the new service profile.The tags to attach to the new service profile.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iotwireless.model.IotWirelessRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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.
-
loRaWAN
The service profile information to use to create the service profile.
- Parameters:
loRaWAN- The service profile information to use to create the service profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loRaWAN
default CreateServiceProfileRequest.Builder loRaWAN(Consumer<LoRaWANServiceProfile.Builder> loRaWAN) The service profile information to use to create the service profile.
This is a convenience method that creates an instance of theLoRaWANServiceProfile.Builderavoiding the need to create one manually viaLoRaWANServiceProfile.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toloRaWAN(LoRaWANServiceProfile).- Parameters:
loRaWAN- a consumer that will call methods onLoRaWANServiceProfile.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags to attach to the new service profile. Tags are metadata that you can use to manage a resource.
- Parameters:
tags- The tags to attach to the new service profile. 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
The tags to attach to the new service profile. Tags are metadata that you can use to manage a resource.
- Parameters:
tags- The tags to attach to the new service profile. 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
The tags to attach to the new service profile. 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 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:
-
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.
-
overrideConfiguration
CreateServiceProfileRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateServiceProfileRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-