Interface CreateDeviceProfileRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateDeviceProfileRequest.Builder,CreateDeviceProfileRequest>,IotWirelessRequest.Builder,SdkBuilder<CreateDeviceProfileRequest.Builder,CreateDeviceProfileRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateDeviceProfileRequest
public static interface CreateDeviceProfileRequest.Builder extends IotWirelessRequest.Builder, SdkPojo, CopyableBuilder<CreateDeviceProfileRequest.Builder,CreateDeviceProfileRequest>
-
-
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
-
name
CreateDeviceProfileRequest.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.
-
loRaWAN
CreateDeviceProfileRequest.Builder loRaWAN(LoRaWANDeviceProfile loRaWAN)
The device profile information to use to create the device profile.
- Parameters:
loRaWAN- The device profile information to use to create the device profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
loRaWAN
default CreateDeviceProfileRequest.Builder loRaWAN(Consumer<LoRaWANDeviceProfile.Builder> loRaWAN)
The device profile information to use to create the device profile.
This is a convenience method that creates an instance of theLoRaWANDeviceProfile.Builderavoiding the need to create one manually viaLoRaWANDeviceProfile.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toloRaWAN(LoRaWANDeviceProfile).- Parameters:
loRaWAN- a consumer that will call methods onLoRaWANDeviceProfile.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
loRaWAN(LoRaWANDeviceProfile)
-
tags
CreateDeviceProfileRequest.Builder tags(Collection<Tag> tags)
The tags to attach to the new device profile. Tags are metadata that you can use to manage a resource.
- Parameters:
tags- The tags to attach to the new device 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
CreateDeviceProfileRequest.Builder tags(Tag... tags)
The tags to attach to the new device profile. Tags are metadata that you can use to manage a resource.
- Parameters:
tags- The tags to attach to the new device 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
CreateDeviceProfileRequest.Builder tags(Consumer<Tag.Builder>... tags)
The tags to attach to the new device 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 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)
-
clientRequestToken
CreateDeviceProfileRequest.Builder clientRequestToken(String clientRequestToken)
Each resource must have a unique client request token. If you try to create a new resource with the same token as a resource that already exists, an exception occurs. If you omit this value, AWS SDKs will automatically generate a unique client request.
- Parameters:
clientRequestToken- Each resource must have a unique client request token. If you try to create a new resource with the same token as a resource that already exists, an exception occurs. If you omit this value, AWS SDKs will automatically generate a unique client request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sidewalk
CreateDeviceProfileRequest.Builder sidewalk(SidewalkCreateDeviceProfile sidewalk)
The Sidewalk-related information for creating the Sidewalk device profile.
- Parameters:
sidewalk- The Sidewalk-related information for creating the Sidewalk device profile.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sidewalk
default CreateDeviceProfileRequest.Builder sidewalk(Consumer<SidewalkCreateDeviceProfile.Builder> sidewalk)
The Sidewalk-related information for creating the Sidewalk device profile.
This is a convenience method that creates an instance of theSidewalkCreateDeviceProfile.Builderavoiding the need to create one manually viaSidewalkCreateDeviceProfile.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosidewalk(SidewalkCreateDeviceProfile).- Parameters:
sidewalk- a consumer that will call methods onSidewalkCreateDeviceProfile.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
sidewalk(SidewalkCreateDeviceProfile)
-
overrideConfiguration
CreateDeviceProfileRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateDeviceProfileRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-