public class StartThingRegistrationTaskRequest extends AmazonWebServiceRequest implements java.io.Serializable
Creates a bulk thing provisioning task.
Constructor and Description |
---|
StartThingRegistrationTaskRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getInputFileBucket()
The S3 bucket that contains the input file.
|
java.lang.String |
getInputFileKey()
The name of input file within the S3 bucket.
|
java.lang.String |
getRoleArn()
The IAM role ARN that grants permission the input file.
|
java.lang.String |
getTemplateBody()
The provisioning template.
|
int |
hashCode() |
void |
setInputFileBucket(java.lang.String inputFileBucket)
The S3 bucket that contains the input file.
|
void |
setInputFileKey(java.lang.String inputFileKey)
The name of input file within the S3 bucket.
|
void |
setRoleArn(java.lang.String roleArn)
The IAM role ARN that grants permission the input file.
|
void |
setTemplateBody(java.lang.String templateBody)
The provisioning template.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StartThingRegistrationTaskRequest |
withInputFileBucket(java.lang.String inputFileBucket)
The S3 bucket that contains the input file.
|
StartThingRegistrationTaskRequest |
withInputFileKey(java.lang.String inputFileKey)
The name of input file within the S3 bucket.
|
StartThingRegistrationTaskRequest |
withRoleArn(java.lang.String roleArn)
The IAM role ARN that grants permission the input file.
|
StartThingRegistrationTaskRequest |
withTemplateBody(java.lang.String templateBody)
The provisioning template.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getTemplateBody()
The provisioning template.
The provisioning template.
public void setTemplateBody(java.lang.String templateBody)
The provisioning template.
templateBody
- The provisioning template.
public StartThingRegistrationTaskRequest withTemplateBody(java.lang.String templateBody)
The provisioning template.
Returns a reference to this object so that method calls can be chained together.
templateBody
- The provisioning template.
public java.lang.String getInputFileBucket()
The S3 bucket that contains the input file.
Constraints:
Length: 3 - 256
Pattern: [a-zA-Z0-9._-]+
The S3 bucket that contains the input file.
public void setInputFileBucket(java.lang.String inputFileBucket)
The S3 bucket that contains the input file.
Constraints:
Length: 3 - 256
Pattern: [a-zA-Z0-9._-]+
inputFileBucket
- The S3 bucket that contains the input file.
public StartThingRegistrationTaskRequest withInputFileBucket(java.lang.String inputFileBucket)
The S3 bucket that contains the input file.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 3 - 256
Pattern: [a-zA-Z0-9._-]+
inputFileBucket
- The S3 bucket that contains the input file.
public java.lang.String getInputFileKey()
The name of input file within the S3 bucket. This file contains a newline delimited JSON file. Each line contains the parameter values to provision one device (thing).
Constraints:
Length: 1 - 1024
Pattern: [a-zA-Z0-9!_.*'()-\/]+
The name of input file within the S3 bucket. This file contains a newline delimited JSON file. Each line contains the parameter values to provision one device (thing).
public void setInputFileKey(java.lang.String inputFileKey)
The name of input file within the S3 bucket. This file contains a newline delimited JSON file. Each line contains the parameter values to provision one device (thing).
Constraints:
Length: 1 - 1024
Pattern: [a-zA-Z0-9!_.*'()-\/]+
inputFileKey
- The name of input file within the S3 bucket. This file contains a newline delimited JSON file. Each line contains the parameter values to provision one device (thing).
public StartThingRegistrationTaskRequest withInputFileKey(java.lang.String inputFileKey)
The name of input file within the S3 bucket. This file contains a newline delimited JSON file. Each line contains the parameter values to provision one device (thing).
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1024
Pattern: [a-zA-Z0-9!_.*'()-\/]+
inputFileKey
- The name of input file within the S3 bucket. This file contains a newline delimited JSON file. Each line contains the parameter values to provision one device (thing).
public java.lang.String getRoleArn()
The IAM role ARN that grants permission the input file.
Constraints:
Length: 20 - 2048
The IAM role ARN that grants permission the input file.
public void setRoleArn(java.lang.String roleArn)
The IAM role ARN that grants permission the input file.
Constraints:
Length: 20 - 2048
roleArn
- The IAM role ARN that grants permission the input file.
public StartThingRegistrationTaskRequest withRoleArn(java.lang.String roleArn)
The IAM role ARN that grants permission the input file.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 20 - 2048
roleArn
- The IAM role ARN that grants permission the input file.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.