@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateDeviceFleetRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateDeviceFleetRequest() |
Modifier and Type | Method and Description |
---|---|
CreateDeviceFleetRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
A description of the fleet.
|
String |
getDeviceFleetName()
The name of the fleet that the device belongs to.
|
Boolean |
getEnableIotRoleAlias()
Whether to create an Amazon Web Services IoT Role Alias during device fleet creation.
|
EdgeOutputConfig |
getOutputConfig()
The output configuration for storing sample data collected by the fleet.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) that has access to Amazon Web Services Internet of Things (IoT).
|
List<Tag> |
getTags()
Creates tags for the specified fleet.
|
int |
hashCode() |
Boolean |
isEnableIotRoleAlias()
Whether to create an Amazon Web Services IoT Role Alias during device fleet creation.
|
void |
setDescription(String description)
A description of the fleet.
|
void |
setDeviceFleetName(String deviceFleetName)
The name of the fleet that the device belongs to.
|
void |
setEnableIotRoleAlias(Boolean enableIotRoleAlias)
Whether to create an Amazon Web Services IoT Role Alias during device fleet creation.
|
void |
setOutputConfig(EdgeOutputConfig outputConfig)
The output configuration for storing sample data collected by the fleet.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) that has access to Amazon Web Services Internet of Things (IoT).
|
void |
setTags(Collection<Tag> tags)
Creates tags for the specified fleet.
|
String |
toString()
Returns a string representation of this object.
|
CreateDeviceFleetRequest |
withDescription(String description)
A description of the fleet.
|
CreateDeviceFleetRequest |
withDeviceFleetName(String deviceFleetName)
The name of the fleet that the device belongs to.
|
CreateDeviceFleetRequest |
withEnableIotRoleAlias(Boolean enableIotRoleAlias)
Whether to create an Amazon Web Services IoT Role Alias during device fleet creation.
|
CreateDeviceFleetRequest |
withOutputConfig(EdgeOutputConfig outputConfig)
The output configuration for storing sample data collected by the fleet.
|
CreateDeviceFleetRequest |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) that has access to Amazon Web Services Internet of Things (IoT).
|
CreateDeviceFleetRequest |
withTags(Collection<Tag> tags)
Creates tags for the specified fleet.
|
CreateDeviceFleetRequest |
withTags(Tag... tags)
Creates tags for the specified fleet.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDeviceFleetName(String deviceFleetName)
The name of the fleet that the device belongs to.
deviceFleetName
- The name of the fleet that the device belongs to.public String getDeviceFleetName()
The name of the fleet that the device belongs to.
public CreateDeviceFleetRequest withDeviceFleetName(String deviceFleetName)
The name of the fleet that the device belongs to.
deviceFleetName
- The name of the fleet that the device belongs to.public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) that has access to Amazon Web Services Internet of Things (IoT).
roleArn
- The Amazon Resource Name (ARN) that has access to Amazon Web Services Internet of Things (IoT).public String getRoleArn()
The Amazon Resource Name (ARN) that has access to Amazon Web Services Internet of Things (IoT).
public CreateDeviceFleetRequest withRoleArn(String roleArn)
The Amazon Resource Name (ARN) that has access to Amazon Web Services Internet of Things (IoT).
roleArn
- The Amazon Resource Name (ARN) that has access to Amazon Web Services Internet of Things (IoT).public void setDescription(String description)
A description of the fleet.
description
- A description of the fleet.public String getDescription()
A description of the fleet.
public CreateDeviceFleetRequest withDescription(String description)
A description of the fleet.
description
- A description of the fleet.public void setOutputConfig(EdgeOutputConfig outputConfig)
The output configuration for storing sample data collected by the fleet.
outputConfig
- The output configuration for storing sample data collected by the fleet.public EdgeOutputConfig getOutputConfig()
The output configuration for storing sample data collected by the fleet.
public CreateDeviceFleetRequest withOutputConfig(EdgeOutputConfig outputConfig)
The output configuration for storing sample data collected by the fleet.
outputConfig
- The output configuration for storing sample data collected by the fleet.public List<Tag> getTags()
Creates tags for the specified fleet.
public void setTags(Collection<Tag> tags)
Creates tags for the specified fleet.
tags
- Creates tags for the specified fleet.public CreateDeviceFleetRequest withTags(Tag... tags)
Creates tags for the specified fleet.
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
- Creates tags for the specified fleet.public CreateDeviceFleetRequest withTags(Collection<Tag> tags)
Creates tags for the specified fleet.
tags
- Creates tags for the specified fleet.public void setEnableIotRoleAlias(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".
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".
public Boolean getEnableIotRoleAlias()
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".
For example, if your device fleet is called "demo-fleet", the name of the role alias will be "SageMakerEdge-demo-fleet".
public CreateDeviceFleetRequest withEnableIotRoleAlias(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".
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".
public Boolean isEnableIotRoleAlias()
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".
For example, if your device fleet is called "demo-fleet", the name of the role alias will be "SageMakerEdge-demo-fleet".
public String toString()
toString
in class Object
Object.toString()
public CreateDeviceFleetRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()