@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AccessorSummary extends Object implements Serializable, Cloneable, StructuredPojo
A summary of accessor properties.
Constructor and Description |
---|
AccessorSummary() |
Modifier and Type | Method and Description |
---|---|
AccessorSummary |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The Amazon Resource Name (ARN) 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.
|
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 |
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 |
setType(String type)
The type of the accessor.
|
String |
toString()
Returns a string representation of this object.
|
AccessorSummary |
withArn(String arn)
The Amazon Resource Name (ARN) of the accessor.
|
AccessorSummary |
withCreationDate(Date creationDate)
The creation date and time of the accessor.
|
AccessorSummary |
withId(String id)
The unique identifier of the accessor.
|
AccessorSummary |
withNetworkType(AccessorNetworkType networkType)
The blockchain network that the Accessor token is created for.
|
AccessorSummary |
withNetworkType(String networkType)
The blockchain network that the Accessor token is created for.
|
AccessorSummary |
withStatus(AccessorStatus status)
The current status of the accessor.
|
AccessorSummary |
withStatus(String status)
The current status of the accessor.
|
AccessorSummary |
withType(AccessorType type)
The type of the accessor.
|
AccessorSummary |
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 AccessorSummary 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 AccessorSummary 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 AccessorSummary 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 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 AccessorSummary withStatus(String status)
The current status of the accessor.
status
- The current status of the accessor.AccessorStatus
public AccessorSummary 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 AccessorSummary 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 AccessorSummary 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 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 AccessorSummary 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 AccessorSummary 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 AccessorSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.