Struct aws_sdk_appstream::model::image_builder::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for ImageBuilder
.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn image_arn(self, input: impl Into<String>) -> Self
pub fn image_arn(self, input: impl Into<String>) -> Self
The ARN of the image from which this builder was created.
sourcepub fn set_image_arn(self, input: Option<String>) -> Self
pub fn set_image_arn(self, input: Option<String>) -> Self
The ARN of the image from which this builder was created.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description to display.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description to display.
sourcepub fn display_name(self, input: impl Into<String>) -> Self
pub fn display_name(self, input: impl Into<String>) -> Self
The image builder name to display.
sourcepub fn set_display_name(self, input: Option<String>) -> Self
pub fn set_display_name(self, input: Option<String>) -> Self
The image builder name to display.
sourcepub fn vpc_config(self, input: VpcConfig) -> Self
pub fn vpc_config(self, input: VpcConfig) -> Self
The VPC configuration of the image builder.
sourcepub fn set_vpc_config(self, input: Option<VpcConfig>) -> Self
pub fn set_vpc_config(self, input: Option<VpcConfig>) -> Self
The VPC configuration of the image builder.
sourcepub fn instance_type(self, input: impl Into<String>) -> Self
pub fn instance_type(self, input: impl Into<String>) -> Self
The instance type for the image builder. The following instance types are available:
-
stream.standard.small
-
stream.standard.medium
-
stream.standard.large
-
stream.compute.large
-
stream.compute.xlarge
-
stream.compute.2xlarge
-
stream.compute.4xlarge
-
stream.compute.8xlarge
-
stream.memory.large
-
stream.memory.xlarge
-
stream.memory.2xlarge
-
stream.memory.4xlarge
-
stream.memory.8xlarge
-
stream.memory.z1d.large
-
stream.memory.z1d.xlarge
-
stream.memory.z1d.2xlarge
-
stream.memory.z1d.3xlarge
-
stream.memory.z1d.6xlarge
-
stream.memory.z1d.12xlarge
-
stream.graphics-design.large
-
stream.graphics-design.xlarge
-
stream.graphics-design.2xlarge
-
stream.graphics-design.4xlarge
-
stream.graphics-desktop.2xlarge
-
stream.graphics.g4dn.xlarge
-
stream.graphics.g4dn.2xlarge
-
stream.graphics.g4dn.4xlarge
-
stream.graphics.g4dn.8xlarge
-
stream.graphics.g4dn.12xlarge
-
stream.graphics.g4dn.16xlarge
-
stream.graphics-pro.4xlarge
-
stream.graphics-pro.8xlarge
-
stream.graphics-pro.16xlarge
sourcepub fn set_instance_type(self, input: Option<String>) -> Self
pub fn set_instance_type(self, input: Option<String>) -> Self
The instance type for the image builder. The following instance types are available:
-
stream.standard.small
-
stream.standard.medium
-
stream.standard.large
-
stream.compute.large
-
stream.compute.xlarge
-
stream.compute.2xlarge
-
stream.compute.4xlarge
-
stream.compute.8xlarge
-
stream.memory.large
-
stream.memory.xlarge
-
stream.memory.2xlarge
-
stream.memory.4xlarge
-
stream.memory.8xlarge
-
stream.memory.z1d.large
-
stream.memory.z1d.xlarge
-
stream.memory.z1d.2xlarge
-
stream.memory.z1d.3xlarge
-
stream.memory.z1d.6xlarge
-
stream.memory.z1d.12xlarge
-
stream.graphics-design.large
-
stream.graphics-design.xlarge
-
stream.graphics-design.2xlarge
-
stream.graphics-design.4xlarge
-
stream.graphics-desktop.2xlarge
-
stream.graphics.g4dn.xlarge
-
stream.graphics.g4dn.2xlarge
-
stream.graphics.g4dn.4xlarge
-
stream.graphics.g4dn.8xlarge
-
stream.graphics.g4dn.12xlarge
-
stream.graphics.g4dn.16xlarge
-
stream.graphics-pro.4xlarge
-
stream.graphics-pro.8xlarge
-
stream.graphics-pro.16xlarge
sourcepub fn platform(self, input: PlatformType) -> Self
pub fn platform(self, input: PlatformType) -> Self
The operating system platform of the image builder.
sourcepub fn set_platform(self, input: Option<PlatformType>) -> Self
pub fn set_platform(self, input: Option<PlatformType>) -> Self
The operating system platform of the image builder.
sourcepub fn iam_role_arn(self, input: impl Into<String>) -> Self
pub fn iam_role_arn(self, input: impl Into<String>) -> Self
The ARN of the IAM role that is applied to the image builder. To assume a role, the image builder calls the AWS Security Token Service (STS) AssumeRole
API operation and passes the ARN of the role to use. The operation creates a new session with temporary credentials. AppStream 2.0 retrieves the temporary credentials and creates the appstream_machine_role credential profile on the instance.
For more information, see Using an IAM Role to Grant Permissions to Applications and Scripts Running on AppStream 2.0 Streaming Instances in the Amazon AppStream 2.0 Administration Guide.
sourcepub fn set_iam_role_arn(self, input: Option<String>) -> Self
pub fn set_iam_role_arn(self, input: Option<String>) -> Self
The ARN of the IAM role that is applied to the image builder. To assume a role, the image builder calls the AWS Security Token Service (STS) AssumeRole
API operation and passes the ARN of the role to use. The operation creates a new session with temporary credentials. AppStream 2.0 retrieves the temporary credentials and creates the appstream_machine_role credential profile on the instance.
For more information, see Using an IAM Role to Grant Permissions to Applications and Scripts Running on AppStream 2.0 Streaming Instances in the Amazon AppStream 2.0 Administration Guide.
sourcepub fn state(self, input: ImageBuilderState) -> Self
pub fn state(self, input: ImageBuilderState) -> Self
The state of the image builder.
sourcepub fn set_state(self, input: Option<ImageBuilderState>) -> Self
pub fn set_state(self, input: Option<ImageBuilderState>) -> Self
The state of the image builder.
sourcepub fn state_change_reason(self, input: ImageBuilderStateChangeReason) -> Self
pub fn state_change_reason(self, input: ImageBuilderStateChangeReason) -> Self
The reason why the last state change occurred.
sourcepub fn set_state_change_reason(
self,
input: Option<ImageBuilderStateChangeReason>
) -> Self
pub fn set_state_change_reason(
self,
input: Option<ImageBuilderStateChangeReason>
) -> Self
The reason why the last state change occurred.
sourcepub fn created_time(self, input: DateTime) -> Self
pub fn created_time(self, input: DateTime) -> Self
The time stamp when the image builder was created.
sourcepub fn set_created_time(self, input: Option<DateTime>) -> Self
pub fn set_created_time(self, input: Option<DateTime>) -> Self
The time stamp when the image builder was created.
sourcepub fn enable_default_internet_access(self, input: bool) -> Self
pub fn enable_default_internet_access(self, input: bool) -> Self
Enables or disables default internet access for the image builder.
sourcepub fn set_enable_default_internet_access(self, input: Option<bool>) -> Self
pub fn set_enable_default_internet_access(self, input: Option<bool>) -> Self
Enables or disables default internet access for the image builder.
sourcepub fn domain_join_info(self, input: DomainJoinInfo) -> Self
pub fn domain_join_info(self, input: DomainJoinInfo) -> Self
The name of the directory and organizational unit (OU) to use to join the image builder to a Microsoft Active Directory domain.
sourcepub fn set_domain_join_info(self, input: Option<DomainJoinInfo>) -> Self
pub fn set_domain_join_info(self, input: Option<DomainJoinInfo>) -> Self
The name of the directory and organizational unit (OU) to use to join the image builder to a Microsoft Active Directory domain.
sourcepub fn network_access_configuration(
self,
input: NetworkAccessConfiguration
) -> Self
pub fn network_access_configuration(
self,
input: NetworkAccessConfiguration
) -> Self
Describes the network details of the fleet or image builder instance.
sourcepub fn set_network_access_configuration(
self,
input: Option<NetworkAccessConfiguration>
) -> Self
pub fn set_network_access_configuration(
self,
input: Option<NetworkAccessConfiguration>
) -> Self
Describes the network details of the fleet or image builder instance.
sourcepub fn image_builder_errors(self, input: ResourceError) -> Self
pub fn image_builder_errors(self, input: ResourceError) -> Self
Appends an item to image_builder_errors
.
To override the contents of this collection use set_image_builder_errors
.
The image builder errors.
sourcepub fn set_image_builder_errors(self, input: Option<Vec<ResourceError>>) -> Self
pub fn set_image_builder_errors(self, input: Option<Vec<ResourceError>>) -> Self
The image builder errors.
sourcepub fn appstream_agent_version(self, input: impl Into<String>) -> Self
pub fn appstream_agent_version(self, input: impl Into<String>) -> Self
The version of the AppStream 2.0 agent that is currently being used by the image builder.
sourcepub fn set_appstream_agent_version(self, input: Option<String>) -> Self
pub fn set_appstream_agent_version(self, input: Option<String>) -> Self
The version of the AppStream 2.0 agent that is currently being used by the image builder.
sourcepub fn access_endpoints(self, input: AccessEndpoint) -> Self
pub fn access_endpoints(self, input: AccessEndpoint) -> Self
Appends an item to access_endpoints
.
To override the contents of this collection use set_access_endpoints
.
The list of virtual private cloud (VPC) interface endpoint objects. Administrators can connect to the image builder only through the specified endpoints.
sourcepub fn set_access_endpoints(self, input: Option<Vec<AccessEndpoint>>) -> Self
pub fn set_access_endpoints(self, input: Option<Vec<AccessEndpoint>>) -> Self
The list of virtual private cloud (VPC) interface endpoint objects. Administrators can connect to the image builder only through the specified endpoints.
sourcepub fn build(self) -> ImageBuilder
pub fn build(self) -> ImageBuilder
Consumes the builder and constructs a ImageBuilder
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more