@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GreengrassConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Configuration information for the AWS IoT Greengrass component created in a model packaging job. For more information, see StartModelPackagingJob.
You can't specify a component with the same ComponentName
and Componentversion
as an
existing component with the same component name and component version.
Constructor and Description |
---|
GreengrassConfiguration() |
Modifier and Type | Method and Description |
---|---|
GreengrassConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getCompilerOptions()
Additional compiler options for the Greengrass component.
|
String |
getComponentDescription()
A description for the AWS IoT Greengrass component.
|
String |
getComponentName()
A name for the AWS IoT Greengrass component.
|
String |
getComponentVersion()
A Version for the AWS IoT Greengrass component.
|
S3Location |
getS3OutputLocation()
An S3 location in which Lookout for Vision stores the component artifacts.
|
List<Tag> |
getTags()
A set of tags (key-value pairs) that you want to attach to the AWS IoT Greengrass component.
|
String |
getTargetDevice()
The target device for the model.
|
TargetPlatform |
getTargetPlatform()
The target platform for the model.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCompilerOptions(String compilerOptions)
Additional compiler options for the Greengrass component.
|
void |
setComponentDescription(String componentDescription)
A description for the AWS IoT Greengrass component.
|
void |
setComponentName(String componentName)
A name for the AWS IoT Greengrass component.
|
void |
setComponentVersion(String componentVersion)
A Version for the AWS IoT Greengrass component.
|
void |
setS3OutputLocation(S3Location s3OutputLocation)
An S3 location in which Lookout for Vision stores the component artifacts.
|
void |
setTags(Collection<Tag> tags)
A set of tags (key-value pairs) that you want to attach to the AWS IoT Greengrass component.
|
void |
setTargetDevice(String targetDevice)
The target device for the model.
|
void |
setTargetPlatform(TargetPlatform targetPlatform)
The target platform for the model.
|
String |
toString()
Returns a string representation of this object.
|
GreengrassConfiguration |
withCompilerOptions(String compilerOptions)
Additional compiler options for the Greengrass component.
|
GreengrassConfiguration |
withComponentDescription(String componentDescription)
A description for the AWS IoT Greengrass component.
|
GreengrassConfiguration |
withComponentName(String componentName)
A name for the AWS IoT Greengrass component.
|
GreengrassConfiguration |
withComponentVersion(String componentVersion)
A Version for the AWS IoT Greengrass component.
|
GreengrassConfiguration |
withS3OutputLocation(S3Location s3OutputLocation)
An S3 location in which Lookout for Vision stores the component artifacts.
|
GreengrassConfiguration |
withTags(Collection<Tag> tags)
A set of tags (key-value pairs) that you want to attach to the AWS IoT Greengrass component.
|
GreengrassConfiguration |
withTags(Tag... tags)
A set of tags (key-value pairs) that you want to attach to the AWS IoT Greengrass component.
|
GreengrassConfiguration |
withTargetDevice(String targetDevice)
The target device for the model.
|
GreengrassConfiguration |
withTargetDevice(TargetDevice targetDevice)
The target device for the model.
|
GreengrassConfiguration |
withTargetPlatform(TargetPlatform targetPlatform)
The target platform for the model.
|
public void setCompilerOptions(String compilerOptions)
Additional compiler options for the Greengrass component. Currently, only NVIDIA Graphics Processing Units (GPU)
are supported. If you specify TargetPlatform
, you must specify CompilerOptions
. If you
specify TargetDevice
, don't specify CompilerOptions
.
For more information, see Compiler options in the Amazon Lookout for Vision Developer Guide.
compilerOptions
- Additional compiler options for the Greengrass component. Currently, only NVIDIA Graphics Processing Units
(GPU) are supported. If you specify TargetPlatform
, you must specify
CompilerOptions
. If you specify TargetDevice
, don't specify
CompilerOptions
.
For more information, see Compiler options in the Amazon Lookout for Vision Developer Guide.
public String getCompilerOptions()
Additional compiler options for the Greengrass component. Currently, only NVIDIA Graphics Processing Units (GPU)
are supported. If you specify TargetPlatform
, you must specify CompilerOptions
. If you
specify TargetDevice
, don't specify CompilerOptions
.
For more information, see Compiler options in the Amazon Lookout for Vision Developer Guide.
TargetPlatform
, you must specify
CompilerOptions
. If you specify TargetDevice
, don't specify
CompilerOptions
.
For more information, see Compiler options in the Amazon Lookout for Vision Developer Guide.
public GreengrassConfiguration withCompilerOptions(String compilerOptions)
Additional compiler options for the Greengrass component. Currently, only NVIDIA Graphics Processing Units (GPU)
are supported. If you specify TargetPlatform
, you must specify CompilerOptions
. If you
specify TargetDevice
, don't specify CompilerOptions
.
For more information, see Compiler options in the Amazon Lookout for Vision Developer Guide.
compilerOptions
- Additional compiler options for the Greengrass component. Currently, only NVIDIA Graphics Processing Units
(GPU) are supported. If you specify TargetPlatform
, you must specify
CompilerOptions
. If you specify TargetDevice
, don't specify
CompilerOptions
.
For more information, see Compiler options in the Amazon Lookout for Vision Developer Guide.
public void setTargetDevice(String targetDevice)
The target device for the model. Currently the only supported value is jetson_xavier
. If you specify
TargetDevice
, you can't specify TargetPlatform
.
targetDevice
- The target device for the model. Currently the only supported value is jetson_xavier
. If you
specify TargetDevice
, you can't specify TargetPlatform
.TargetDevice
public String getTargetDevice()
The target device for the model. Currently the only supported value is jetson_xavier
. If you specify
TargetDevice
, you can't specify TargetPlatform
.
jetson_xavier
. If you
specify TargetDevice
, you can't specify TargetPlatform
.TargetDevice
public GreengrassConfiguration withTargetDevice(String targetDevice)
The target device for the model. Currently the only supported value is jetson_xavier
. If you specify
TargetDevice
, you can't specify TargetPlatform
.
targetDevice
- The target device for the model. Currently the only supported value is jetson_xavier
. If you
specify TargetDevice
, you can't specify TargetPlatform
.TargetDevice
public GreengrassConfiguration withTargetDevice(TargetDevice targetDevice)
The target device for the model. Currently the only supported value is jetson_xavier
. If you specify
TargetDevice
, you can't specify TargetPlatform
.
targetDevice
- The target device for the model. Currently the only supported value is jetson_xavier
. If you
specify TargetDevice
, you can't specify TargetPlatform
.TargetDevice
public void setTargetPlatform(TargetPlatform targetPlatform)
The target platform for the model. If you specify TargetPlatform
, you can't specify
TargetDevice
.
targetPlatform
- The target platform for the model. If you specify TargetPlatform
, you can't specify
TargetDevice
.public TargetPlatform getTargetPlatform()
The target platform for the model. If you specify TargetPlatform
, you can't specify
TargetDevice
.
TargetPlatform
, you can't specify
TargetDevice
.public GreengrassConfiguration withTargetPlatform(TargetPlatform targetPlatform)
The target platform for the model. If you specify TargetPlatform
, you can't specify
TargetDevice
.
targetPlatform
- The target platform for the model. If you specify TargetPlatform
, you can't specify
TargetDevice
.public void setS3OutputLocation(S3Location s3OutputLocation)
An S3 location in which Lookout for Vision stores the component artifacts.
s3OutputLocation
- An S3 location in which Lookout for Vision stores the component artifacts.public S3Location getS3OutputLocation()
An S3 location in which Lookout for Vision stores the component artifacts.
public GreengrassConfiguration withS3OutputLocation(S3Location s3OutputLocation)
An S3 location in which Lookout for Vision stores the component artifacts.
s3OutputLocation
- An S3 location in which Lookout for Vision stores the component artifacts.public void setComponentName(String componentName)
A name for the AWS IoT Greengrass component.
componentName
- A name for the AWS IoT Greengrass component.public String getComponentName()
A name for the AWS IoT Greengrass component.
public GreengrassConfiguration withComponentName(String componentName)
A name for the AWS IoT Greengrass component.
componentName
- A name for the AWS IoT Greengrass component.public void setComponentVersion(String componentVersion)
A Version for the AWS IoT Greengrass component. If you don't provide a value, a default value of
Model Version.0.0
is used.
componentVersion
- A Version for the AWS IoT Greengrass component. If you don't provide a value, a default value of
Model Version.0.0
is used.public String getComponentVersion()
A Version for the AWS IoT Greengrass component. If you don't provide a value, a default value of
Model Version.0.0
is used.
Model Version.0.0
is used.public GreengrassConfiguration withComponentVersion(String componentVersion)
A Version for the AWS IoT Greengrass component. If you don't provide a value, a default value of
Model Version.0.0
is used.
componentVersion
- A Version for the AWS IoT Greengrass component. If you don't provide a value, a default value of
Model Version.0.0
is used.public void setComponentDescription(String componentDescription)
A description for the AWS IoT Greengrass component.
componentDescription
- A description for the AWS IoT Greengrass component.public String getComponentDescription()
A description for the AWS IoT Greengrass component.
public GreengrassConfiguration withComponentDescription(String componentDescription)
A description for the AWS IoT Greengrass component.
componentDescription
- A description for the AWS IoT Greengrass component.public List<Tag> getTags()
A set of tags (key-value pairs) that you want to attach to the AWS IoT Greengrass component.
public void setTags(Collection<Tag> tags)
A set of tags (key-value pairs) that you want to attach to the AWS IoT Greengrass component.
tags
- A set of tags (key-value pairs) that you want to attach to the AWS IoT Greengrass component.public GreengrassConfiguration withTags(Tag... tags)
A set of tags (key-value pairs) that you want to attach to the AWS IoT Greengrass component.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- A set of tags (key-value pairs) that you want to attach to the AWS IoT Greengrass component.public GreengrassConfiguration withTags(Collection<Tag> tags)
A set of tags (key-value pairs) that you want to attach to the AWS IoT Greengrass component.
tags
- A set of tags (key-value pairs) that you want to attach to the AWS IoT Greengrass component.public String toString()
toString
in class Object
Object.toString()
public GreengrassConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.