Struct aws_sdk_lightsail::types::builders::BlueprintBuilder
source · #[non_exhaustive]pub struct BlueprintBuilder { /* private fields */ }
Expand description
A builder for Blueprint
.
Implementations§
source§impl BlueprintBuilder
impl BlueprintBuilder
sourcepub fn blueprint_id(self, input: impl Into<String>) -> Self
pub fn blueprint_id(self, input: impl Into<String>) -> Self
The ID for the virtual private server image (app_wordpress_x_x
or app_lamp_x_x
).
sourcepub fn set_blueprint_id(self, input: Option<String>) -> Self
pub fn set_blueprint_id(self, input: Option<String>) -> Self
The ID for the virtual private server image (app_wordpress_x_x
or app_lamp_x_x
).
sourcepub fn get_blueprint_id(&self) -> &Option<String>
pub fn get_blueprint_id(&self) -> &Option<String>
The ID for the virtual private server image (app_wordpress_x_x
or app_lamp_x_x
).
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The friendly name of the blueprint (Amazon Linux
).
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The friendly name of the blueprint (Amazon Linux
).
sourcepub fn group(self, input: impl Into<String>) -> Self
pub fn group(self, input: impl Into<String>) -> Self
The group name of the blueprint (amazon-linux
).
sourcepub fn set_group(self, input: Option<String>) -> Self
pub fn set_group(self, input: Option<String>) -> Self
The group name of the blueprint (amazon-linux
).
sourcepub fn type(self, input: BlueprintType) -> Self
pub fn type(self, input: BlueprintType) -> Self
The type of the blueprint (os
or app
).
sourcepub fn set_type(self, input: Option<BlueprintType>) -> Self
pub fn set_type(self, input: Option<BlueprintType>) -> Self
The type of the blueprint (os
or app
).
sourcepub fn get_type(&self) -> &Option<BlueprintType>
pub fn get_type(&self) -> &Option<BlueprintType>
The type of the blueprint (os
or app
).
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the blueprint.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the blueprint.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the blueprint.
sourcepub fn is_active(self, input: bool) -> Self
pub fn is_active(self, input: bool) -> Self
A Boolean value indicating whether the blueprint is active. Inactive blueprints are listed to support customers with existing instances but are not necessarily available for launch of new instances. Blueprints are marked inactive when they become outdated due to operating system updates or new application releases.
sourcepub fn set_is_active(self, input: Option<bool>) -> Self
pub fn set_is_active(self, input: Option<bool>) -> Self
A Boolean value indicating whether the blueprint is active. Inactive blueprints are listed to support customers with existing instances but are not necessarily available for launch of new instances. Blueprints are marked inactive when they become outdated due to operating system updates or new application releases.
sourcepub fn get_is_active(&self) -> &Option<bool>
pub fn get_is_active(&self) -> &Option<bool>
A Boolean value indicating whether the blueprint is active. Inactive blueprints are listed to support customers with existing instances but are not necessarily available for launch of new instances. Blueprints are marked inactive when they become outdated due to operating system updates or new application releases.
sourcepub fn min_power(self, input: i32) -> Self
pub fn min_power(self, input: i32) -> Self
The minimum bundle power required to run this blueprint. For example, you need a bundle with a power value of 500 or more to create an instance that uses a blueprint with a minimum power value of 500. 0
indicates that the blueprint runs on all instance sizes.
sourcepub fn set_min_power(self, input: Option<i32>) -> Self
pub fn set_min_power(self, input: Option<i32>) -> Self
The minimum bundle power required to run this blueprint. For example, you need a bundle with a power value of 500 or more to create an instance that uses a blueprint with a minimum power value of 500. 0
indicates that the blueprint runs on all instance sizes.
sourcepub fn get_min_power(&self) -> &Option<i32>
pub fn get_min_power(&self) -> &Option<i32>
The minimum bundle power required to run this blueprint. For example, you need a bundle with a power value of 500 or more to create an instance that uses a blueprint with a minimum power value of 500. 0
indicates that the blueprint runs on all instance sizes.
sourcepub fn version(self, input: impl Into<String>) -> Self
pub fn version(self, input: impl Into<String>) -> Self
The version number of the operating system, application, or stack ( 2016.03.0
).
sourcepub fn set_version(self, input: Option<String>) -> Self
pub fn set_version(self, input: Option<String>) -> Self
The version number of the operating system, application, or stack ( 2016.03.0
).
sourcepub fn get_version(&self) -> &Option<String>
pub fn get_version(&self) -> &Option<String>
The version number of the operating system, application, or stack ( 2016.03.0
).
sourcepub fn version_code(self, input: impl Into<String>) -> Self
pub fn version_code(self, input: impl Into<String>) -> Self
The version code.
sourcepub fn set_version_code(self, input: Option<String>) -> Self
pub fn set_version_code(self, input: Option<String>) -> Self
The version code.
sourcepub fn get_version_code(&self) -> &Option<String>
pub fn get_version_code(&self) -> &Option<String>
The version code.
sourcepub fn product_url(self, input: impl Into<String>) -> Self
pub fn product_url(self, input: impl Into<String>) -> Self
The product URL to learn more about the image or blueprint.
sourcepub fn set_product_url(self, input: Option<String>) -> Self
pub fn set_product_url(self, input: Option<String>) -> Self
The product URL to learn more about the image or blueprint.
sourcepub fn get_product_url(&self) -> &Option<String>
pub fn get_product_url(&self) -> &Option<String>
The product URL to learn more about the image or blueprint.
sourcepub fn license_url(self, input: impl Into<String>) -> Self
pub fn license_url(self, input: impl Into<String>) -> Self
The end-user license agreement URL for the image or blueprint.
sourcepub fn set_license_url(self, input: Option<String>) -> Self
pub fn set_license_url(self, input: Option<String>) -> Self
The end-user license agreement URL for the image or blueprint.
sourcepub fn get_license_url(&self) -> &Option<String>
pub fn get_license_url(&self) -> &Option<String>
The end-user license agreement URL for the image or blueprint.
sourcepub fn platform(self, input: InstancePlatform) -> Self
pub fn platform(self, input: InstancePlatform) -> Self
The operating system platform (either Linux/Unix-based or Windows Server-based) of the blueprint.
sourcepub fn set_platform(self, input: Option<InstancePlatform>) -> Self
pub fn set_platform(self, input: Option<InstancePlatform>) -> Self
The operating system platform (either Linux/Unix-based or Windows Server-based) of the blueprint.
sourcepub fn get_platform(&self) -> &Option<InstancePlatform>
pub fn get_platform(&self) -> &Option<InstancePlatform>
The operating system platform (either Linux/Unix-based or Windows Server-based) of the blueprint.
sourcepub fn app_category(self, input: AppCategory) -> Self
pub fn app_category(self, input: AppCategory) -> Self
Virtual computer blueprints that are supported by Lightsail for Research.
This parameter only applies to Lightsail for Research resources.
sourcepub fn set_app_category(self, input: Option<AppCategory>) -> Self
pub fn set_app_category(self, input: Option<AppCategory>) -> Self
Virtual computer blueprints that are supported by Lightsail for Research.
This parameter only applies to Lightsail for Research resources.
sourcepub fn get_app_category(&self) -> &Option<AppCategory>
pub fn get_app_category(&self) -> &Option<AppCategory>
Virtual computer blueprints that are supported by Lightsail for Research.
This parameter only applies to Lightsail for Research resources.
Trait Implementations§
source§impl Clone for BlueprintBuilder
impl Clone for BlueprintBuilder
source§fn clone(&self) -> BlueprintBuilder
fn clone(&self) -> BlueprintBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BlueprintBuilder
impl Debug for BlueprintBuilder
source§impl Default for BlueprintBuilder
impl Default for BlueprintBuilder
source§fn default() -> BlueprintBuilder
fn default() -> BlueprintBuilder
source§impl PartialEq for BlueprintBuilder
impl PartialEq for BlueprintBuilder
source§fn eq(&self, other: &BlueprintBuilder) -> bool
fn eq(&self, other: &BlueprintBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BlueprintBuilder
Auto Trait Implementations§
impl Freeze for BlueprintBuilder
impl RefUnwindSafe for BlueprintBuilder
impl Send for BlueprintBuilder
impl Sync for BlueprintBuilder
impl Unpin for BlueprintBuilder
impl UnwindSafe for BlueprintBuilder
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