@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Accessor extends Object implements Serializable, Cloneable, StructuredPojo
The properties of the Accessor.
Constructor and Description |
---|
Accessor() |
Modifier and Type | Method and Description |
---|---|
Accessor |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
Accessor |
clearTagsEntries()
Removes all the entries added into Tags.
|
Accessor |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) of the accessor.
|
String |
getBillingToken()
The billing token is a property of the accessor.
|
Date |
getCreationDate()
The creation date and time of the accessor.
|
String |
getId()
The unique identifier of the accessor.
|
String |
getStatus()
The current status of the accessor.
|
Map<String,String> |
getTags()
The tags assigned to the Accessor.
|
String |
getType()
The type of the accessor.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the accessor.
|
void |
setBillingToken(String billingToken)
The billing token is a property of the accessor.
|
void |
setCreationDate(Date creationDate)
The creation date and time of the accessor.
|
void |
setId(String id)
The unique identifier of the accessor.
|
void |
setStatus(String status)
The current status of the accessor.
|
void |
setTags(Map<String,String> tags)
The tags assigned to the Accessor.
|
void |
setType(String type)
The type of the accessor.
|
String |
toString()
Returns a string representation of this object.
|
Accessor |
withArn(String arn)
The Amazon Resource Name (ARN) of the accessor.
|
Accessor |
withBillingToken(String billingToken)
The billing token is a property of the accessor.
|
Accessor |
withCreationDate(Date creationDate)
The creation date and time of the accessor.
|
Accessor |
withId(String id)
The unique identifier of the accessor.
|
Accessor |
withStatus(AccessorStatus status)
The current status of the accessor.
|
Accessor |
withStatus(String status)
The current status of the accessor.
|
Accessor |
withTags(Map<String,String> tags)
The tags assigned to the Accessor.
|
Accessor |
withType(AccessorType type)
The type of the accessor.
|
Accessor |
withType(String type)
The type of the accessor.
|
public void setId(String id)
The unique identifier of the accessor.
id
- The unique identifier of the accessor.public String getId()
The unique identifier of the accessor.
public Accessor withId(String id)
The unique identifier of the accessor.
id
- The unique identifier of the accessor.public void setType(String type)
The type of the accessor.
Currently, accessor type is restricted to BILLING_TOKEN
.
type
- The type of the accessor.
Currently, accessor type is restricted to BILLING_TOKEN
.
AccessorType
public String getType()
The type of the accessor.
Currently, accessor type is restricted to BILLING_TOKEN
.
Currently, accessor type is restricted to BILLING_TOKEN
.
AccessorType
public Accessor withType(String type)
The type of the accessor.
Currently, accessor type is restricted to BILLING_TOKEN
.
type
- The type of the accessor.
Currently, accessor type is restricted to BILLING_TOKEN
.
AccessorType
public Accessor withType(AccessorType type)
The type of the accessor.
Currently, accessor type is restricted to BILLING_TOKEN
.
type
- The type of the accessor.
Currently, accessor type is restricted to BILLING_TOKEN
.
AccessorType
public void setBillingToken(String billingToken)
The billing token is a property of the accessor. Use this token to make Ethereum API calls to your Ethereum node. The billing token is used to track your accessor object for billing Ethereum API requests made to your Ethereum nodes.
billingToken
- The billing token is a property of the accessor. Use this token to make Ethereum API calls to your
Ethereum node. The billing token is used to track your accessor object for billing Ethereum API requests
made to your Ethereum nodes.public String getBillingToken()
The billing token is a property of the accessor. Use this token to make Ethereum API calls to your Ethereum node. The billing token is used to track your accessor object for billing Ethereum API requests made to your Ethereum nodes.
public Accessor withBillingToken(String billingToken)
The billing token is a property of the accessor. Use this token to make Ethereum API calls to your Ethereum node. The billing token is used to track your accessor object for billing Ethereum API requests made to your Ethereum nodes.
billingToken
- The billing token is a property of the accessor. Use this token to make Ethereum API calls to your
Ethereum node. The billing token is used to track your accessor object for billing Ethereum API requests
made to your Ethereum nodes.public void setStatus(String status)
The current status of the accessor.
status
- The current status of the accessor.AccessorStatus
public String getStatus()
The current status of the accessor.
AccessorStatus
public Accessor withStatus(String status)
The current status of the accessor.
status
- The current status of the accessor.AccessorStatus
public Accessor withStatus(AccessorStatus status)
The current status of the accessor.
status
- The current status of the accessor.AccessorStatus
public void setCreationDate(Date creationDate)
The creation date and time of the accessor.
creationDate
- The creation date and time of the accessor.public Date getCreationDate()
The creation date and time of the accessor.
public Accessor withCreationDate(Date creationDate)
The creation date and time of the accessor.
creationDate
- The creation date and time of the accessor.public void setArn(String arn)
The Amazon Resource Name (ARN) of the accessor. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
arn
- The Amazon Resource Name (ARN) of the accessor. For more information about ARNs and their format, see Amazon Resource Names
(ARNs) in the Amazon Web Services General Reference.public String getArn()
The Amazon Resource Name (ARN) of the accessor. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
public Accessor withArn(String arn)
The Amazon Resource Name (ARN) of the accessor. For more information about ARNs and their format, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.
arn
- The Amazon Resource Name (ARN) of the accessor. For more information about ARNs and their format, see Amazon Resource Names
(ARNs) in the Amazon Web Services General Reference.public Map<String,String> getTags()
The tags assigned to the Accessor.
For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
public void setTags(Map<String,String> tags)
The tags assigned to the Accessor.
For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
tags
- The tags assigned to the Accessor.
For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
public Accessor withTags(Map<String,String> tags)
The tags assigned to the Accessor.
For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
tags
- The tags assigned to the Accessor.
For more information about tags, see Tagging Resources in the Amazon Managed Blockchain Ethereum Developer Guide, or Tagging Resources in the Amazon Managed Blockchain Hyperledger Fabric Developer Guide.
public Accessor clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.