public class DescribeThingRegistrationTaskResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
DescribeThingRegistrationTaskResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getCreationDate()
The task creation date.
|
java.lang.Integer |
getFailureCount()
The number of things that failed to be provisioned.
|
java.lang.String |
getInputFileBucket()
The S3 bucket that contains the input file.
|
java.lang.String |
getInputFileKey()
The input file key.
|
java.util.Date |
getLastModifiedDate()
The date when the task was last modified.
|
java.lang.String |
getMessage()
The message.
|
java.lang.Integer |
getPercentageProgress()
The progress of the bulk provisioning task expressed as a percentage.
|
java.lang.String |
getRoleArn()
The role ARN that grants access to the input file bucket.
|
java.lang.String |
getStatus()
The status of the bulk thing provisioning task.
|
java.lang.Integer |
getSuccessCount()
The number of things successfully provisioned.
|
java.lang.String |
getTaskId()
The task ID.
|
java.lang.String |
getTemplateBody()
The task's template.
|
int |
hashCode() |
void |
setCreationDate(java.util.Date creationDate)
The task creation date.
|
void |
setFailureCount(java.lang.Integer failureCount)
The number of things that failed to be provisioned.
|
void |
setInputFileBucket(java.lang.String inputFileBucket)
The S3 bucket that contains the input file.
|
void |
setInputFileKey(java.lang.String inputFileKey)
The input file key.
|
void |
setLastModifiedDate(java.util.Date lastModifiedDate)
The date when the task was last modified.
|
void |
setMessage(java.lang.String message)
The message.
|
void |
setPercentageProgress(java.lang.Integer percentageProgress)
The progress of the bulk provisioning task expressed as a percentage.
|
void |
setRoleArn(java.lang.String roleArn)
The role ARN that grants access to the input file bucket.
|
void |
setStatus(Status status)
The status of the bulk thing provisioning task.
|
void |
setStatus(java.lang.String status)
The status of the bulk thing provisioning task.
|
void |
setSuccessCount(java.lang.Integer successCount)
The number of things successfully provisioned.
|
void |
setTaskId(java.lang.String taskId)
The task ID.
|
void |
setTemplateBody(java.lang.String templateBody)
The task's template.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeThingRegistrationTaskResult |
withCreationDate(java.util.Date creationDate)
The task creation date.
|
DescribeThingRegistrationTaskResult |
withFailureCount(java.lang.Integer failureCount)
The number of things that failed to be provisioned.
|
DescribeThingRegistrationTaskResult |
withInputFileBucket(java.lang.String inputFileBucket)
The S3 bucket that contains the input file.
|
DescribeThingRegistrationTaskResult |
withInputFileKey(java.lang.String inputFileKey)
The input file key.
|
DescribeThingRegistrationTaskResult |
withLastModifiedDate(java.util.Date lastModifiedDate)
The date when the task was last modified.
|
DescribeThingRegistrationTaskResult |
withMessage(java.lang.String message)
The message.
|
DescribeThingRegistrationTaskResult |
withPercentageProgress(java.lang.Integer percentageProgress)
The progress of the bulk provisioning task expressed as a percentage.
|
DescribeThingRegistrationTaskResult |
withRoleArn(java.lang.String roleArn)
The role ARN that grants access to the input file bucket.
|
DescribeThingRegistrationTaskResult |
withStatus(Status status)
The status of the bulk thing provisioning task.
|
DescribeThingRegistrationTaskResult |
withStatus(java.lang.String status)
The status of the bulk thing provisioning task.
|
DescribeThingRegistrationTaskResult |
withSuccessCount(java.lang.Integer successCount)
The number of things successfully provisioned.
|
DescribeThingRegistrationTaskResult |
withTaskId(java.lang.String taskId)
The task ID.
|
DescribeThingRegistrationTaskResult |
withTemplateBody(java.lang.String templateBody)
The task's template.
|
public java.lang.String getTaskId()
The task ID.
Constraints:
Length: - 40
The task ID.
public void setTaskId(java.lang.String taskId)
The task ID.
Constraints:
Length: - 40
taskId
- The task ID.
public DescribeThingRegistrationTaskResult withTaskId(java.lang.String taskId)
The task ID.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 40
taskId
- The task ID.
public java.util.Date getCreationDate()
The task creation date.
The task creation date.
public void setCreationDate(java.util.Date creationDate)
The task creation date.
creationDate
- The task creation date.
public DescribeThingRegistrationTaskResult withCreationDate(java.util.Date creationDate)
The task creation date.
Returns a reference to this object so that method calls can be chained together.
creationDate
- The task creation date.
public java.util.Date getLastModifiedDate()
The date when the task was last modified.
The date when the task was last modified.
public void setLastModifiedDate(java.util.Date lastModifiedDate)
The date when the task was last modified.
lastModifiedDate
- The date when the task was last modified.
public DescribeThingRegistrationTaskResult withLastModifiedDate(java.util.Date lastModifiedDate)
The date when the task was last modified.
Returns a reference to this object so that method calls can be chained together.
lastModifiedDate
- The date when the task was last modified.
public java.lang.String getTemplateBody()
The task's template.
The task's template.
public void setTemplateBody(java.lang.String templateBody)
The task's template.
templateBody
- The task's template.
public DescribeThingRegistrationTaskResult withTemplateBody(java.lang.String templateBody)
The task's template.
Returns a reference to this object so that method calls can be chained together.
templateBody
- The task's 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 DescribeThingRegistrationTaskResult 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 input file key.
Constraints:
Length: 1 - 1024
Pattern: [a-zA-Z0-9!_.*'()-\/]+
The input file key.
public void setInputFileKey(java.lang.String inputFileKey)
The input file key.
Constraints:
Length: 1 - 1024
Pattern: [a-zA-Z0-9!_.*'()-\/]+
inputFileKey
- The input file key.
public DescribeThingRegistrationTaskResult withInputFileKey(java.lang.String inputFileKey)
The input file key.
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 input file key.
public java.lang.String getRoleArn()
The role ARN that grants access to the input file bucket.
Constraints:
Length: 20 - 2048
The role ARN that grants access to the input file bucket.
public void setRoleArn(java.lang.String roleArn)
The role ARN that grants access to the input file bucket.
Constraints:
Length: 20 - 2048
roleArn
- The role ARN that grants access to the input file bucket.
public DescribeThingRegistrationTaskResult withRoleArn(java.lang.String roleArn)
The role ARN that grants access to the input file bucket.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 20 - 2048
roleArn
- The role ARN that grants access to the input file bucket.
public java.lang.String getStatus()
The status of the bulk thing provisioning task.
Constraints:
Allowed Values: InProgress, Completed, Failed, Cancelled,
Cancelling
The status of the bulk thing provisioning task.
Status
public void setStatus(java.lang.String status)
The status of the bulk thing provisioning task.
Constraints:
Allowed Values: InProgress, Completed, Failed, Cancelled,
Cancelling
status
- The status of the bulk thing provisioning task.
Status
public DescribeThingRegistrationTaskResult withStatus(java.lang.String status)
The status of the bulk thing provisioning task.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: InProgress, Completed, Failed, Cancelled,
Cancelling
status
- The status of the bulk thing provisioning task.
Status
public void setStatus(Status status)
The status of the bulk thing provisioning task.
Constraints:
Allowed Values: InProgress, Completed, Failed, Cancelled,
Cancelling
status
- The status of the bulk thing provisioning task.
Status
public DescribeThingRegistrationTaskResult withStatus(Status status)
The status of the bulk thing provisioning task.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: InProgress, Completed, Failed, Cancelled,
Cancelling
status
- The status of the bulk thing provisioning task.
Status
public java.lang.String getMessage()
The message.
Constraints:
Length: - 2048
The message.
public void setMessage(java.lang.String message)
The message.
Constraints:
Length: - 2048
message
- The message.
public DescribeThingRegistrationTaskResult withMessage(java.lang.String message)
The message.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 2048
message
- The message.
public java.lang.Integer getSuccessCount()
The number of things successfully provisioned.
The number of things successfully provisioned.
public void setSuccessCount(java.lang.Integer successCount)
The number of things successfully provisioned.
successCount
- The number of things successfully provisioned.
public DescribeThingRegistrationTaskResult withSuccessCount(java.lang.Integer successCount)
The number of things successfully provisioned.
Returns a reference to this object so that method calls can be chained together.
successCount
- The number of things successfully provisioned.
public java.lang.Integer getFailureCount()
The number of things that failed to be provisioned.
The number of things that failed to be provisioned.
public void setFailureCount(java.lang.Integer failureCount)
The number of things that failed to be provisioned.
failureCount
- The number of things that failed to be provisioned.
public DescribeThingRegistrationTaskResult withFailureCount(java.lang.Integer failureCount)
The number of things that failed to be provisioned.
Returns a reference to this object so that method calls can be chained together.
failureCount
- The number of things that failed to be provisioned.
public java.lang.Integer getPercentageProgress()
The progress of the bulk provisioning task expressed as a percentage.
Constraints:
Range: 0 - 100
The progress of the bulk provisioning task expressed as a percentage.
public void setPercentageProgress(java.lang.Integer percentageProgress)
The progress of the bulk provisioning task expressed as a percentage.
Constraints:
Range: 0 - 100
percentageProgress
- The progress of the bulk provisioning task expressed as a percentage.
public DescribeThingRegistrationTaskResult withPercentageProgress(java.lang.Integer percentageProgress)
The progress of the bulk provisioning task expressed as a percentage.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 - 100
percentageProgress
- The progress of the bulk provisioning task expressed as a percentage.
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.