@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class IamResources extends Object implements Serializable, Cloneable, StructuredPojo
The IAM resource that enables Amazon Web Services IoT FleetWise edge agent software to send data to Amazon Timestream.
For more information, see IAM roles in the Identity and Access Management User Guide.
Constructor and Description |
---|
IamResources() |
Modifier and Type | Method and Description |
---|---|
IamResources |
clone() |
boolean |
equals(Object obj) |
String |
getRoleArn()
The Amazon Resource Name (ARN) of the IAM resource that allows Amazon Web Services IoT FleetWise to send data to
Amazon Timestream.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM resource that allows Amazon Web Services IoT FleetWise to send data to
Amazon Timestream.
|
String |
toString()
Returns a string representation of this object.
|
IamResources |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM resource that allows Amazon Web Services IoT FleetWise to send data to
Amazon Timestream.
|
public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM resource that allows Amazon Web Services IoT FleetWise to send data to
Amazon Timestream. For example, arn:aws:iam::123456789012:role/SERVICE-ROLE-ARN
.
roleArn
- The Amazon Resource Name (ARN) of the IAM resource that allows Amazon Web Services IoT FleetWise to send
data to Amazon Timestream. For example, arn:aws:iam::123456789012:role/SERVICE-ROLE-ARN
.public String getRoleArn()
The Amazon Resource Name (ARN) of the IAM resource that allows Amazon Web Services IoT FleetWise to send data to
Amazon Timestream. For example, arn:aws:iam::123456789012:role/SERVICE-ROLE-ARN
.
arn:aws:iam::123456789012:role/SERVICE-ROLE-ARN
.public IamResources withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the IAM resource that allows Amazon Web Services IoT FleetWise to send data to
Amazon Timestream. For example, arn:aws:iam::123456789012:role/SERVICE-ROLE-ARN
.
roleArn
- The Amazon Resource Name (ARN) of the IAM resource that allows Amazon Web Services IoT FleetWise to send
data to Amazon Timestream. For example, arn:aws:iam::123456789012:role/SERVICE-ROLE-ARN
.public String toString()
toString
in class Object
Object.toString()
public IamResources clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.