pub struct Builder { /* private fields */ }Expand description
A builder for CreateAccessorInput.
Implementations§
source§impl Builder
impl Builder
sourcepub fn client_request_token(self, input: impl Into<String>) -> Self
pub fn client_request_token(self, input: impl Into<String>) -> Self
This is a unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than once. This identifier is required only if you make a service request directly using an HTTP client. It is generated automatically if you use an Amazon Web Services SDK or the Amazon Web Services CLI.
sourcepub fn set_client_request_token(self, input: Option<String>) -> Self
pub fn set_client_request_token(self, input: Option<String>) -> Self
This is a unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than once. This identifier is required only if you make a service request directly using an HTTP client. It is generated automatically if you use an Amazon Web Services SDK or the Amazon Web Services CLI.
sourcepub fn accessor_type(self, input: AccessorType) -> Self
pub fn accessor_type(self, input: AccessorType) -> Self
The type of accessor.
Currently accessor type is restricted to BILLING_TOKEN.
sourcepub fn set_accessor_type(self, input: Option<AccessorType>) -> Self
pub fn set_accessor_type(self, input: Option<AccessorType>) -> Self
The type of accessor.
Currently accessor type is restricted to BILLING_TOKEN.
sourcepub fn build(self) -> Result<CreateAccessorInput, BuildError>
pub fn build(self) -> Result<CreateAccessorInput, BuildError>
Consumes the builder and constructs a CreateAccessorInput.