@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 |
getNetworkType()
The blockchain network that the Accessor token is created for.
|
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 |
setNetworkType(String networkType)
The blockchain network that the Accessor token is created for.
|
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 |
withNetworkType(AccessorNetworkType networkType)
The blockchain network that the Accessor token is created for.
|
Accessor |
withNetworkType(String networkType)
The blockchain network that the Accessor token is created for.
|
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 when making calls to the blockchain network. The billing token is used to track your accessor token for billing requests.
billingToken
- The billing token is a property of the Accessor. Use this token to when making calls to the blockchain
network. The billing token is used to track your accessor token for billing requests.public String getBillingToken()
The billing token is a property of the Accessor. Use this token to when making calls to the blockchain network. The billing token is used to track your accessor token for billing requests.
public Accessor withBillingToken(String billingToken)
The billing token is a property of the Accessor. Use this token to when making calls to the blockchain network. The billing token is used to track your accessor token for billing requests.
billingToken
- The billing token is a property of the Accessor. Use this token to when making calls to the blockchain
network. The billing token is used to track your accessor token for billing requests.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 void setNetworkType(String networkType)
The blockchain network that the Accessor token is created for.
networkType
- The blockchain network that the Accessor token is created for.AccessorNetworkType
public String getNetworkType()
The blockchain network that the Accessor token is created for.
AccessorNetworkType
public Accessor withNetworkType(String networkType)
The blockchain network that the Accessor token is created for.
networkType
- The blockchain network that the Accessor token is created for.AccessorNetworkType
public Accessor withNetworkType(AccessorNetworkType networkType)
The blockchain network that the Accessor token is created for.
networkType
- The blockchain network that the Accessor token is created for.AccessorNetworkType
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.