pub struct Builder { /* private fields */ }
Expand description
A builder for DeleteAccessTokenInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The ID of the personal access token to delete. You can find the IDs of all PATs associated with your user account by calling ListAccessTokens
.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The ID of the personal access token to delete. You can find the IDs of all PATs associated with your user account by calling ListAccessTokens
.
sourcepub fn build(self) -> Result<DeleteAccessTokenInput, BuildError>
pub fn build(self) -> Result<DeleteAccessTokenInput, BuildError>
Consumes the builder and constructs a DeleteAccessTokenInput
.