Interface CreateDeviceFleetRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateDeviceFleetRequest.Builder,,CreateDeviceFleetRequest> SageMakerRequest.Builder,SdkBuilder<CreateDeviceFleetRequest.Builder,,CreateDeviceFleetRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateDeviceFleetRequest
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) A description of the fleet.deviceFleetName(String deviceFleetName) The name of the fleet that the device belongs to.enableIotRoleAlias(Boolean enableIotRoleAlias) Whether to create an Amazon Web Services IoT Role Alias during device fleet creation.default CreateDeviceFleetRequest.BuilderoutputConfig(Consumer<EdgeOutputConfig.Builder> outputConfig) The output configuration for storing sample data collected by the fleet.outputConfig(EdgeOutputConfig outputConfig) The output configuration for storing sample data collected by the fleet.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The Amazon Resource Name (ARN) that has access to Amazon Web Services Internet of Things (IoT).tags(Collection<Tag> tags) Creates tags for the specified fleet.tags(Consumer<Tag.Builder>... tags) Creates tags for the specified fleet.Creates tags for the specified fleet.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.sagemaker.model.SageMakerRequest.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
-
deviceFleetName
The name of the fleet that the device belongs to.
- Parameters:
deviceFleetName- The name of the fleet that the device belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
The Amazon Resource Name (ARN) that has access to Amazon Web Services Internet of Things (IoT).
- Parameters:
roleArn- The Amazon Resource Name (ARN) that has access to Amazon Web Services Internet of Things (IoT).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the fleet.
- Parameters:
description- A description of the fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputConfig
The output configuration for storing sample data collected by the fleet.
- Parameters:
outputConfig- The output configuration for storing sample data collected by the fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputConfig
default CreateDeviceFleetRequest.Builder outputConfig(Consumer<EdgeOutputConfig.Builder> outputConfig) The output configuration for storing sample data collected by the fleet.
This is a convenience method that creates an instance of theEdgeOutputConfig.Builderavoiding the need to create one manually viaEdgeOutputConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tooutputConfig(EdgeOutputConfig).- Parameters:
outputConfig- a consumer that will call methods onEdgeOutputConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
Creates tags for the specified fleet.
- Parameters:
tags- Creates tags for the specified fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Creates tags for the specified fleet.
- Parameters:
tags- Creates tags for the specified fleet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Creates tags for the specified fleet.
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:
-
enableIotRoleAlias
Whether to create an Amazon Web Services IoT Role Alias during device fleet creation. The name of the role alias generated will match this pattern: "SageMakerEdge-{DeviceFleetName}".
For example, if your device fleet is called "demo-fleet", the name of the role alias will be "SageMakerEdge-demo-fleet".
- Parameters:
enableIotRoleAlias- Whether to create an Amazon Web Services IoT Role Alias during device fleet creation. The name of the role alias generated will match this pattern: "SageMakerEdge-{DeviceFleetName}".For example, if your device fleet is called "demo-fleet", the name of the role alias will be "SageMakerEdge-demo-fleet".
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateDeviceFleetRequest.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
CreateDeviceFleetRequest.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.
-