@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IamRegistrationResponse extends Object implements Serializable, Cloneable, StructuredPojo
Information about registering an Identity and Access Management (IAM) resource so Amazon Web Services IoT FleetWise edge agent software can transfer your vehicle data to Amazon Timestream.
Constructor and Description |
---|
IamRegistrationResponse() |
Modifier and Type | Method and Description |
---|---|
IamRegistrationResponse |
clone() |
boolean |
equals(Object obj) |
String |
getErrorMessage()
A message associated with a registration error.
|
String |
getRegistrationStatus()
The status of registering your IAM resource.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) of the IAM role to register.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setErrorMessage(String errorMessage)
A message associated with a registration error.
|
void |
setRegistrationStatus(String registrationStatus)
The status of registering your IAM resource.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role to register.
|
String |
toString()
Returns a string representation of this object.
|
IamRegistrationResponse |
withErrorMessage(String errorMessage)
A message associated with a registration error.
|
IamRegistrationResponse |
withRegistrationStatus(RegistrationStatus registrationStatus)
The status of registering your IAM resource.
|
IamRegistrationResponse |
withRegistrationStatus(String registrationStatus)
The status of registering your IAM resource.
|
IamRegistrationResponse |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role to register.
|
public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role to register.
roleArn
- The Amazon Resource Name (ARN) of the IAM role to register.public String getRoleArn()
The Amazon Resource Name (ARN) of the IAM role to register.
public IamRegistrationResponse withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM role to register.
roleArn
- The Amazon Resource Name (ARN) of the IAM role to register.public void setRegistrationStatus(String registrationStatus)
The status of registering your IAM resource. The status can be one of REGISTRATION_SUCCESS
,
REGISTRATION_PENDING
, REGISTRATION_FAILURE
.
registrationStatus
- The status of registering your IAM resource. The status can be one of REGISTRATION_SUCCESS
,
REGISTRATION_PENDING
, REGISTRATION_FAILURE
.RegistrationStatus
public String getRegistrationStatus()
The status of registering your IAM resource. The status can be one of REGISTRATION_SUCCESS
,
REGISTRATION_PENDING
, REGISTRATION_FAILURE
.
REGISTRATION_SUCCESS
,
REGISTRATION_PENDING
, REGISTRATION_FAILURE
.RegistrationStatus
public IamRegistrationResponse withRegistrationStatus(String registrationStatus)
The status of registering your IAM resource. The status can be one of REGISTRATION_SUCCESS
,
REGISTRATION_PENDING
, REGISTRATION_FAILURE
.
registrationStatus
- The status of registering your IAM resource. The status can be one of REGISTRATION_SUCCESS
,
REGISTRATION_PENDING
, REGISTRATION_FAILURE
.RegistrationStatus
public IamRegistrationResponse withRegistrationStatus(RegistrationStatus registrationStatus)
The status of registering your IAM resource. The status can be one of REGISTRATION_SUCCESS
,
REGISTRATION_PENDING
, REGISTRATION_FAILURE
.
registrationStatus
- The status of registering your IAM resource. The status can be one of REGISTRATION_SUCCESS
,
REGISTRATION_PENDING
, REGISTRATION_FAILURE
.RegistrationStatus
public void setErrorMessage(String errorMessage)
A message associated with a registration error.
errorMessage
- A message associated with a registration error.public String getErrorMessage()
A message associated with a registration error.
public IamRegistrationResponse withErrorMessage(String errorMessage)
A message associated with a registration error.
errorMessage
- A message associated with a registration error.public String toString()
toString
in class Object
Object.toString()
public IamRegistrationResponse clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.