Struct aws_sdk_codecatalyst::operation::create_access_token::builders::CreateAccessTokenOutputBuilder
source · #[non_exhaustive]pub struct CreateAccessTokenOutputBuilder { /* private fields */ }Expand description
A builder for CreateAccessTokenOutput.
Implementations§
source§impl CreateAccessTokenOutputBuilder
impl CreateAccessTokenOutputBuilder
sourcepub fn secret(self, input: impl Into<String>) -> Self
pub fn secret(self, input: impl Into<String>) -> Self
The secret value of the personal access token.
sourcepub fn set_secret(self, input: Option<String>) -> Self
pub fn set_secret(self, input: Option<String>) -> Self
The secret value of the personal access token.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The friendly name of the personal access token.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The friendly name of the personal access token.
sourcepub fn expires_time(self, input: DateTime) -> Self
pub fn expires_time(self, input: DateTime) -> Self
The date and time the personal access token expires, in coordinated universal time (UTC) timestamp format as specified in RFC 3339. If not specified, the default is one year from creation.
sourcepub fn set_expires_time(self, input: Option<DateTime>) -> Self
pub fn set_expires_time(self, input: Option<DateTime>) -> Self
The date and time the personal access token expires, in coordinated universal time (UTC) timestamp format as specified in RFC 3339. If not specified, the default is one year from creation.
sourcepub fn build(self) -> CreateAccessTokenOutput
pub fn build(self) -> CreateAccessTokenOutput
Consumes the builder and constructs a CreateAccessTokenOutput.
Trait Implementations§
source§impl Clone for CreateAccessTokenOutputBuilder
impl Clone for CreateAccessTokenOutputBuilder
source§fn clone(&self) -> CreateAccessTokenOutputBuilder
fn clone(&self) -> CreateAccessTokenOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for CreateAccessTokenOutputBuilder
impl Default for CreateAccessTokenOutputBuilder
source§fn default() -> CreateAccessTokenOutputBuilder
fn default() -> CreateAccessTokenOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<CreateAccessTokenOutputBuilder> for CreateAccessTokenOutputBuilder
impl PartialEq<CreateAccessTokenOutputBuilder> for CreateAccessTokenOutputBuilder
source§fn eq(&self, other: &CreateAccessTokenOutputBuilder) -> bool
fn eq(&self, other: &CreateAccessTokenOutputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.