pub struct GetSnapshotIamPolicyArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> GetSnapshotIamPolicyArgsBuilder<S>
impl<S: State> GetSnapshotIamPolicyArgsBuilder<S>
sourcepub fn build_struct(self) -> GetSnapshotIamPolicyArgswhere
S: IsComplete,
pub fn build_struct(self) -> GetSnapshotIamPolicyArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn name(
self,
value: impl Into<Output<String>>,
) -> GetSnapshotIamPolicyArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(
self,
value: impl Into<Output<String>>,
) -> GetSnapshotIamPolicyArgsBuilder<SetName<S>>where
S::Name: IsUnset,
Required.
Used to find the parent resource to bind the IAM policy to
sourcepub fn project(
self,
value: impl Into<Output<Option<String>>>,
) -> GetSnapshotIamPolicyArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
pub fn project(
self,
value: impl Into<Output<Option<String>>>,
) -> GetSnapshotIamPolicyArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
sourcepub fn maybe_project(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> GetSnapshotIamPolicyArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
pub fn maybe_project(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> GetSnapshotIamPolicyArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.