Struct aws_sdk_ssm::operation::get_resource_policies::builders::GetResourcePoliciesInputBuilder
source · #[non_exhaustive]pub struct GetResourcePoliciesInputBuilder { /* private fields */ }
Expand description
A builder for GetResourcePoliciesInput
.
Implementations§
source§impl GetResourcePoliciesInputBuilder
impl GetResourcePoliciesInputBuilder
sourcepub fn resource_arn(self, input: impl Into<String>) -> Self
pub fn resource_arn(self, input: impl Into<String>) -> Self
Amazon Resource Name (ARN) of the resource to which the policies are attached.
This field is required.sourcepub fn set_resource_arn(self, input: Option<String>) -> Self
pub fn set_resource_arn(self, input: Option<String>) -> Self
Amazon Resource Name (ARN) of the resource to which the policies are attached.
sourcepub fn get_resource_arn(&self) -> &Option<String>
pub fn get_resource_arn(&self) -> &Option<String>
Amazon Resource Name (ARN) of the resource to which the policies are attached.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A token to start the list. Use this token to get the next set of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A token to start the list. Use this token to get the next set of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A token to start the list. Use this token to get the next set of results.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
sourcepub fn build(self) -> Result<GetResourcePoliciesInput, BuildError>
pub fn build(self) -> Result<GetResourcePoliciesInput, BuildError>
Consumes the builder and constructs a GetResourcePoliciesInput
.
source§impl GetResourcePoliciesInputBuilder
impl GetResourcePoliciesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetResourcePoliciesOutput, SdkError<GetResourcePoliciesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetResourcePoliciesOutput, SdkError<GetResourcePoliciesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetResourcePoliciesInputBuilder
impl Clone for GetResourcePoliciesInputBuilder
source§fn clone(&self) -> GetResourcePoliciesInputBuilder
fn clone(&self) -> GetResourcePoliciesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetResourcePoliciesInputBuilder
impl Default for GetResourcePoliciesInputBuilder
source§fn default() -> GetResourcePoliciesInputBuilder
fn default() -> GetResourcePoliciesInputBuilder
source§impl PartialEq for GetResourcePoliciesInputBuilder
impl PartialEq for GetResourcePoliciesInputBuilder
source§fn eq(&self, other: &GetResourcePoliciesInputBuilder) -> bool
fn eq(&self, other: &GetResourcePoliciesInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.