Struct aws_sdk_codebuild::input::get_resource_policy_input::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for GetResourcePolicyInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn resource_arn(self, input: impl Into<String>) -> Self
pub fn resource_arn(self, input: impl Into<String>) -> Self
The ARN of the resource that is associated with the resource policy.
sourcepub fn set_resource_arn(self, input: Option<String>) -> Self
pub fn set_resource_arn(self, input: Option<String>) -> Self
The ARN of the resource that is associated with the resource policy.
sourcepub fn build(self) -> Result<GetResourcePolicyInput, BuildError>
pub fn build(self) -> Result<GetResourcePolicyInput, BuildError>
Consumes the builder and constructs a GetResourcePolicyInput
.