Interface CreateDeviceFleetRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateDeviceFleetRequest.Builder,CreateDeviceFleetRequest>
,SageMakerRequest.Builder
,SdkBuilder<CreateDeviceFleetRequest.Builder,CreateDeviceFleetRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- CreateDeviceFleetRequest
public static interface CreateDeviceFleetRequest.Builder extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<CreateDeviceFleetRequest.Builder,CreateDeviceFleetRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CreateDeviceFleetRequest.Builder
description(String description)
A description of the fleet.CreateDeviceFleetRequest.Builder
deviceFleetName(String deviceFleetName)
The name of the fleet that the device belongs to.CreateDeviceFleetRequest.Builder
enableIotRoleAlias(Boolean enableIotRoleAlias)
Whether to create an Amazon Web Services IoT Role Alias during device fleet creation.default CreateDeviceFleetRequest.Builder
outputConfig(Consumer<EdgeOutputConfig.Builder> outputConfig)
The output configuration for storing sample data collected by the fleet.CreateDeviceFleetRequest.Builder
outputConfig(EdgeOutputConfig outputConfig)
The output configuration for storing sample data collected by the fleet.CreateDeviceFleetRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
CreateDeviceFleetRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
CreateDeviceFleetRequest.Builder
roleArn(String roleArn)
The Amazon Resource Name (ARN) that has access to Amazon Web Services Internet of Things (IoT).CreateDeviceFleetRequest.Builder
tags(Collection<Tag> tags)
Creates tags for the specified fleet.CreateDeviceFleetRequest.Builder
tags(Consumer<Tag.Builder>... tags)
Creates tags for the specified fleet.CreateDeviceFleetRequest.Builder
tags(Tag... tags)
Creates tags for the specified fleet.-
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.sagemaker.model.SageMakerRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
deviceFleetName
CreateDeviceFleetRequest.Builder deviceFleetName(String 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
CreateDeviceFleetRequest.Builder roleArn(String 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
CreateDeviceFleetRequest.Builder description(String 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
CreateDeviceFleetRequest.Builder outputConfig(EdgeOutputConfig 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.Builder
avoiding the need to create one manually viaEdgeOutputConfig.builder()
.When the
Consumer
completes,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:
outputConfig(EdgeOutputConfig)
-
tags
CreateDeviceFleetRequest.Builder tags(Collection<Tag> 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
CreateDeviceFleetRequest.Builder tags(Tag... 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
CreateDeviceFleetRequest.Builder tags(Consumer<Tag.Builder>... tags)
Creates tags for the specified fleet.
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 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
)
-
enableIotRoleAlias
CreateDeviceFleetRequest.Builder enableIotRoleAlias(Boolean 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)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
CreateDeviceFleetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-