Interface CreateSystemInstanceRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateSystemInstanceRequest.Builder,CreateSystemInstanceRequest>,IoTThingsGraphRequest.Builder,SdkBuilder<CreateSystemInstanceRequest.Builder,CreateSystemInstanceRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateSystemInstanceRequest
public static interface CreateSystemInstanceRequest.Builder extends IoTThingsGraphRequest.Builder, SdkPojo, CopyableBuilder<CreateSystemInstanceRequest.Builder,CreateSystemInstanceRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CreateSystemInstanceRequest.Builderdefinition(Consumer<DefinitionDocument.Builder> definition)Sets the value of the Definition property for this object.CreateSystemInstanceRequest.Builderdefinition(DefinitionDocument definition)Sets the value of the Definition property for this object.CreateSystemInstanceRequest.BuilderflowActionsRoleArn(String flowActionsRoleArn)The ARN of the IAM role that AWS IoT Things Graph will assume when it executes the flow.CreateSystemInstanceRequest.BuildergreengrassGroupName(String greengrassGroupName)The name of the Greengrass group where the system instance will be deployed.default CreateSystemInstanceRequest.BuildermetricsConfiguration(Consumer<MetricsConfiguration.Builder> metricsConfiguration)Sets the value of the MetricsConfiguration property for this object.CreateSystemInstanceRequest.BuildermetricsConfiguration(MetricsConfiguration metricsConfiguration)Sets the value of the MetricsConfiguration property for this object.CreateSystemInstanceRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CreateSystemInstanceRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CreateSystemInstanceRequest.Builders3BucketName(String s3BucketName)The name of the Amazon Simple Storage Service bucket that will be used to store and deploy the system instance's resource file.CreateSystemInstanceRequest.Buildertags(Collection<Tag> tags)Metadata, consisting of key-value pairs, that can be used to categorize your system instances.CreateSystemInstanceRequest.Buildertags(Consumer<Tag.Builder>... tags)Metadata, consisting of key-value pairs, that can be used to categorize your system instances.CreateSystemInstanceRequest.Buildertags(Tag... tags)Metadata, consisting of key-value pairs, that can be used to categorize your system instances.CreateSystemInstanceRequest.Buildertarget(String target)The target type of the deployment.CreateSystemInstanceRequest.Buildertarget(DeploymentTarget target)The target type of the deployment.-
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.iotthingsgraph.model.IoTThingsGraphRequest.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
-
tags
CreateSystemInstanceRequest.Builder tags(Collection<Tag> tags)
Metadata, consisting of key-value pairs, that can be used to categorize your system instances.
- Parameters:
tags- Metadata, consisting of key-value pairs, that can be used to categorize your system instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateSystemInstanceRequest.Builder tags(Tag... tags)
Metadata, consisting of key-value pairs, that can be used to categorize your system instances.
- Parameters:
tags- Metadata, consisting of key-value pairs, that can be used to categorize your system instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
CreateSystemInstanceRequest.Builder tags(Consumer<Tag.Builder>... tags)
Metadata, consisting of key-value pairs, that can be used to categorize your system instances.
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)
-
definition
CreateSystemInstanceRequest.Builder definition(DefinitionDocument definition)
Sets the value of the Definition property for this object.- Parameters:
definition- The new value for the Definition property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
default CreateSystemInstanceRequest.Builder definition(Consumer<DefinitionDocument.Builder> definition)
Sets the value of the Definition property for this object. This is a convenience method that creates an instance of theDefinitionDocument.Builderavoiding the need to create one manually viaDefinitionDocument.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todefinition(DefinitionDocument).- Parameters:
definition- a consumer that will call methods onDefinitionDocument.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
definition(DefinitionDocument)
-
target
CreateSystemInstanceRequest.Builder target(String target)
The target type of the deployment. Valid values are
GREENGRASSandCLOUD.- Parameters:
target- The target type of the deployment. Valid values areGREENGRASSandCLOUD.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DeploymentTarget,DeploymentTarget
-
target
CreateSystemInstanceRequest.Builder target(DeploymentTarget target)
The target type of the deployment. Valid values are
GREENGRASSandCLOUD.- Parameters:
target- The target type of the deployment. Valid values areGREENGRASSandCLOUD.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DeploymentTarget,DeploymentTarget
-
greengrassGroupName
CreateSystemInstanceRequest.Builder greengrassGroupName(String greengrassGroupName)
The name of the Greengrass group where the system instance will be deployed. This value is required if the value of the
targetparameter isGREENGRASS.- Parameters:
greengrassGroupName- The name of the Greengrass group where the system instance will be deployed. This value is required if the value of thetargetparameter isGREENGRASS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3BucketName
CreateSystemInstanceRequest.Builder s3BucketName(String s3BucketName)
The name of the Amazon Simple Storage Service bucket that will be used to store and deploy the system instance's resource file. This value is required if the value of the
targetparameter isGREENGRASS.- Parameters:
s3BucketName- The name of the Amazon Simple Storage Service bucket that will be used to store and deploy the system instance's resource file. This value is required if the value of thetargetparameter isGREENGRASS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricsConfiguration
CreateSystemInstanceRequest.Builder metricsConfiguration(MetricsConfiguration metricsConfiguration)
Sets the value of the MetricsConfiguration property for this object.- Parameters:
metricsConfiguration- The new value for the MetricsConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricsConfiguration
default CreateSystemInstanceRequest.Builder metricsConfiguration(Consumer<MetricsConfiguration.Builder> metricsConfiguration)
Sets the value of the MetricsConfiguration property for this object. This is a convenience method that creates an instance of theMetricsConfiguration.Builderavoiding the need to create one manually viaMetricsConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometricsConfiguration(MetricsConfiguration).- Parameters:
metricsConfiguration- a consumer that will call methods onMetricsConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
metricsConfiguration(MetricsConfiguration)
-
flowActionsRoleArn
CreateSystemInstanceRequest.Builder flowActionsRoleArn(String flowActionsRoleArn)
The ARN of the IAM role that AWS IoT Things Graph will assume when it executes the flow. This role must have read and write access to AWS Lambda and AWS IoT and any other AWS services that the flow uses when it executes. This value is required if the value of the
targetparameter isCLOUD.- Parameters:
flowActionsRoleArn- The ARN of the IAM role that AWS IoT Things Graph will assume when it executes the flow. This role must have read and write access to AWS Lambda and AWS IoT and any other AWS services that the flow uses when it executes. This value is required if the value of thetargetparameter isCLOUD.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateSystemInstanceRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateSystemInstanceRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-