#[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 ==
.