pub struct Builder { /* private fields */ }Expand description
A builder for UpdateConnectionOAuthRequestParameters.
Implementations§
source§impl Builder
impl Builder
sourcepub fn client_parameters(
self,
input: UpdateConnectionOAuthClientRequestParameters
) -> Self
pub fn client_parameters(
self,
input: UpdateConnectionOAuthClientRequestParameters
) -> Self
A UpdateConnectionOAuthClientRequestParameters object that contains the client parameters to use for the connection when OAuth is specified as the authorization type.
sourcepub fn set_client_parameters(
self,
input: Option<UpdateConnectionOAuthClientRequestParameters>
) -> Self
pub fn set_client_parameters(
self,
input: Option<UpdateConnectionOAuthClientRequestParameters>
) -> Self
A UpdateConnectionOAuthClientRequestParameters object that contains the client parameters to use for the connection when OAuth is specified as the authorization type.
The URL to the authorization endpoint when OAuth is specified as the authorization type.
The URL to the authorization endpoint when OAuth is specified as the authorization type.
sourcepub fn http_method(self, input: ConnectionOAuthHttpMethod) -> Self
pub fn http_method(self, input: ConnectionOAuthHttpMethod) -> Self
The method used to connect to the HTTP endpoint.
sourcepub fn set_http_method(self, input: Option<ConnectionOAuthHttpMethod>) -> Self
pub fn set_http_method(self, input: Option<ConnectionOAuthHttpMethod>) -> Self
The method used to connect to the HTTP endpoint.
sourcepub fn o_auth_http_parameters(self, input: ConnectionHttpParameters) -> Self
pub fn o_auth_http_parameters(self, input: ConnectionHttpParameters) -> Self
The additional HTTP parameters used for the OAuth authorization request.
sourcepub fn set_o_auth_http_parameters(
self,
input: Option<ConnectionHttpParameters>
) -> Self
pub fn set_o_auth_http_parameters(
self,
input: Option<ConnectionHttpParameters>
) -> Self
The additional HTTP parameters used for the OAuth authorization request.
sourcepub fn build(self) -> UpdateConnectionOAuthRequestParameters
pub fn build(self) -> UpdateConnectionOAuthRequestParameters
Consumes the builder and constructs a UpdateConnectionOAuthRequestParameters.