Struct aws_sdk_managedblockchain::model::accessor::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for Accessor.
Implementations§
source§impl Builder
impl Builder
sourcepub fn type(self, input: AccessorType) -> Self
pub fn type(self, input: AccessorType) -> Self
The type of the accessor.
Currently accessor type is restricted to BILLING_TOKEN.
sourcepub fn set_type(self, input: Option<AccessorType>) -> Self
pub fn set_type(self, input: Option<AccessorType>) -> Self
The type of the accessor.
Currently accessor type is restricted to BILLING_TOKEN.
sourcepub fn billing_token(self, input: impl Into<String>) -> Self
pub fn billing_token(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_billing_token(self, input: Option<String>) -> Self
pub fn set_billing_token(self, input: Option<String>) -> Self
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.
sourcepub fn status(self, input: AccessorStatus) -> Self
pub fn status(self, input: AccessorStatus) -> Self
The current status of the accessor.
sourcepub fn set_status(self, input: Option<AccessorStatus>) -> Self
pub fn set_status(self, input: Option<AccessorStatus>) -> Self
The current status of the accessor.
sourcepub fn creation_date(self, input: DateTime) -> Self
pub fn creation_date(self, input: DateTime) -> Self
The creation date and time of the accessor.
sourcepub fn set_creation_date(self, input: Option<DateTime>) -> Self
pub fn set_creation_date(self, input: Option<DateTime>) -> Self
The creation date and time of the accessor.
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
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.