pub struct GetObjectArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> GetObjectArgsBuilder<S>
impl<S: State> GetObjectArgsBuilder<S>
sourcepub fn build_struct(self) -> GetObjectArgswhere
S: IsComplete,
pub fn build_struct(self) -> GetObjectArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn bucket(
self,
value: impl Into<Output<String>>,
) -> GetObjectArgsBuilder<SetBucket<S>>where
S::Bucket: IsUnset,
pub fn bucket(
self,
value: impl Into<Output<String>>,
) -> GetObjectArgsBuilder<SetBucket<S>>where
S::Bucket: IsUnset,
Required.
Name of the bucket to read the object from. Alternatively, an S3 access point ARN can be specified
sourcepub fn checksum_mode(
self,
value: impl Into<Output<Option<String>>>,
) -> GetObjectArgsBuilder<SetChecksumMode<S>>where
S::ChecksumMode: IsUnset,
pub fn checksum_mode(
self,
value: impl Into<Output<Option<String>>>,
) -> GetObjectArgsBuilder<SetChecksumMode<S>>where
S::ChecksumMode: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
To retrieve the object’s checksum, this argument must be ENABLED
. If you enable checksum_mode
and the object is encrypted with KMS, you must have permission to use the kms:Decrypt
action. Valid values: ENABLED
sourcepub fn maybe_checksum_mode(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> GetObjectArgsBuilder<SetChecksumMode<S>>where
S::ChecksumMode: IsUnset,
pub fn maybe_checksum_mode(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> GetObjectArgsBuilder<SetChecksumMode<S>>where
S::ChecksumMode: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
To retrieve the object’s checksum, this argument must be ENABLED
. If you enable checksum_mode
and the object is encrypted with KMS, you must have permission to use the kms:Decrypt
action. Valid values: ENABLED
sourcepub fn key(
self,
value: impl Into<Output<String>>,
) -> GetObjectArgsBuilder<SetKey<S>>where
S::Key: IsUnset,
pub fn key(
self,
value: impl Into<Output<String>>,
) -> GetObjectArgsBuilder<SetKey<S>>where
S::Key: IsUnset,
Required.
Full path to the object inside the bucket