pub struct Builder { /* private fields */ }
Expand description
A builder for NetworkResourceSummary
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn registered_gateway_arn(self, input: impl Into<String>) -> Self
pub fn registered_gateway_arn(self, input: impl Into<String>) -> Self
The ARN of the gateway.
sourcepub fn set_registered_gateway_arn(self, input: Option<String>) -> Self
pub fn set_registered_gateway_arn(self, input: Option<String>) -> Self
The ARN of the gateway.
sourcepub fn resource_arn(self, input: impl Into<String>) -> Self
pub fn resource_arn(self, input: impl Into<String>) -> Self
The ARN of the resource.
sourcepub fn set_resource_arn(self, input: Option<String>) -> Self
pub fn set_resource_arn(self, input: Option<String>) -> Self
The ARN of the resource.
sourcepub fn resource_type(self, input: impl Into<String>) -> Self
pub fn resource_type(self, input: impl Into<String>) -> Self
The resource type.
sourcepub fn set_resource_type(self, input: Option<String>) -> Self
pub fn set_resource_type(self, input: Option<String>) -> Self
The resource type.
sourcepub fn definition(self, input: impl Into<String>) -> Self
pub fn definition(self, input: impl Into<String>) -> Self
Information about the resource, in JSON format. Network Manager gets this information by describing the resource using its Describe API call.
sourcepub fn set_definition(self, input: Option<String>) -> Self
pub fn set_definition(self, input: Option<String>) -> Self
Information about the resource, in JSON format. Network Manager gets this information by describing the resource using its Describe API call.
sourcepub fn set_name_tag(self, input: Option<String>) -> Self
pub fn set_name_tag(self, input: Option<String>) -> Self
The value for the Name tag.
sourcepub fn is_middlebox(self, input: bool) -> Self
pub fn is_middlebox(self, input: bool) -> Self
Indicates whether this is a middlebox appliance.
sourcepub fn set_is_middlebox(self, input: Option<bool>) -> Self
pub fn set_is_middlebox(self, input: Option<bool>) -> Self
Indicates whether this is a middlebox appliance.
sourcepub fn build(self) -> NetworkResourceSummary
pub fn build(self) -> NetworkResourceSummary
Consumes the builder and constructs a NetworkResourceSummary
.