#[non_exhaustive]pub struct CreateScriptOutputBuilder { /* private fields */ }
Expand description
A builder for CreateScriptOutput
.
Implementations§
source§impl CreateScriptOutputBuilder
impl CreateScriptOutputBuilder
sourcepub fn script(self, input: Script) -> Self
pub fn script(self, input: Script) -> Self
The newly created script record with a unique script ID and ARN. The new script's storage location reflects an Amazon S3 location: (1) If the script was uploaded from an S3 bucket under your account, the storage location reflects the information that was provided in the CreateScript request; (2) If the script file was uploaded from a local zip file, the storage location reflects an S3 location controls by the Amazon GameLift service.
sourcepub fn set_script(self, input: Option<Script>) -> Self
pub fn set_script(self, input: Option<Script>) -> Self
The newly created script record with a unique script ID and ARN. The new script's storage location reflects an Amazon S3 location: (1) If the script was uploaded from an S3 bucket under your account, the storage location reflects the information that was provided in the CreateScript request; (2) If the script file was uploaded from a local zip file, the storage location reflects an S3 location controls by the Amazon GameLift service.
sourcepub fn get_script(&self) -> &Option<Script>
pub fn get_script(&self) -> &Option<Script>
The newly created script record with a unique script ID and ARN. The new script's storage location reflects an Amazon S3 location: (1) If the script was uploaded from an S3 bucket under your account, the storage location reflects the information that was provided in the CreateScript request; (2) If the script file was uploaded from a local zip file, the storage location reflects an S3 location controls by the Amazon GameLift service.
sourcepub fn build(self) -> CreateScriptOutput
pub fn build(self) -> CreateScriptOutput
Consumes the builder and constructs a CreateScriptOutput
.
Trait Implementations§
source§impl Clone for CreateScriptOutputBuilder
impl Clone for CreateScriptOutputBuilder
source§fn clone(&self) -> CreateScriptOutputBuilder
fn clone(&self) -> CreateScriptOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateScriptOutputBuilder
impl Debug for CreateScriptOutputBuilder
source§impl Default for CreateScriptOutputBuilder
impl Default for CreateScriptOutputBuilder
source§fn default() -> CreateScriptOutputBuilder
fn default() -> CreateScriptOutputBuilder
source§impl PartialEq for CreateScriptOutputBuilder
impl PartialEq for CreateScriptOutputBuilder
source§fn eq(&self, other: &CreateScriptOutputBuilder) -> bool
fn eq(&self, other: &CreateScriptOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateScriptOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateScriptOutputBuilder
impl RefUnwindSafe for CreateScriptOutputBuilder
impl Send for CreateScriptOutputBuilder
impl Sync for CreateScriptOutputBuilder
impl Unpin for CreateScriptOutputBuilder
impl UnwindSafe for CreateScriptOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more