pub struct EipAssociationArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> EipAssociationArgsBuilder<S>
impl<S: State> EipAssociationArgsBuilder<S>
sourcepub fn build_struct(self) -> EipAssociationArgswhere
S: IsComplete,
pub fn build_struct(self) -> EipAssociationArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn allocation_id(
self,
value: impl Into<Output<Option<String>>>,
) -> EipAssociationArgsBuilder<SetAllocationId<S>>where
S::AllocationId: IsUnset,
pub fn allocation_id(
self,
value: impl Into<Output<Option<String>>>,
) -> EipAssociationArgsBuilder<SetAllocationId<S>>where
S::AllocationId: IsUnset,
sourcepub fn maybe_allocation_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> EipAssociationArgsBuilder<SetAllocationId<S>>where
S::AllocationId: IsUnset,
pub fn maybe_allocation_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> EipAssociationArgsBuilder<SetAllocationId<S>>where
S::AllocationId: IsUnset,
sourcepub fn allow_reassociation(
self,
value: impl Into<Output<Option<bool>>>,
) -> EipAssociationArgsBuilder<SetAllowReassociation<S>>where
S::AllowReassociation: IsUnset,
pub fn allow_reassociation(
self,
value: impl Into<Output<Option<bool>>>,
) -> EipAssociationArgsBuilder<SetAllowReassociation<S>>where
S::AllowReassociation: IsUnset,
sourcepub fn maybe_allow_reassociation(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> EipAssociationArgsBuilder<SetAllowReassociation<S>>where
S::AllowReassociation: IsUnset,
pub fn maybe_allow_reassociation(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> EipAssociationArgsBuilder<SetAllowReassociation<S>>where
S::AllowReassociation: IsUnset,
sourcepub fn instance_id(
self,
value: impl Into<Output<Option<String>>>,
) -> EipAssociationArgsBuilder<SetInstanceId<S>>where
S::InstanceId: IsUnset,
pub fn instance_id(
self,
value: impl Into<Output<Option<String>>>,
) -> EipAssociationArgsBuilder<SetInstanceId<S>>where
S::InstanceId: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The ID of the instance. This is required for EC2-Classic. For EC2-VPC, you can specify either the instance ID or the network interface ID, but not both. The operation fails if you specify an instance ID unless exactly one network interface is attached.
sourcepub fn maybe_instance_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> EipAssociationArgsBuilder<SetInstanceId<S>>where
S::InstanceId: IsUnset,
pub fn maybe_instance_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> EipAssociationArgsBuilder<SetInstanceId<S>>where
S::InstanceId: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The ID of the instance. This is required for EC2-Classic. For EC2-VPC, you can specify either the instance ID or the network interface ID, but not both. The operation fails if you specify an instance ID unless exactly one network interface is attached.
sourcepub fn network_interface_id(
self,
value: impl Into<Output<Option<String>>>,
) -> EipAssociationArgsBuilder<SetNetworkInterfaceId<S>>where
S::NetworkInterfaceId: IsUnset,
pub fn network_interface_id(
self,
value: impl Into<Output<Option<String>>>,
) -> EipAssociationArgsBuilder<SetNetworkInterfaceId<S>>where
S::NetworkInterfaceId: IsUnset,
sourcepub fn maybe_network_interface_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> EipAssociationArgsBuilder<SetNetworkInterfaceId<S>>where
S::NetworkInterfaceId: IsUnset,
pub fn maybe_network_interface_id(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> EipAssociationArgsBuilder<SetNetworkInterfaceId<S>>where
S::NetworkInterfaceId: IsUnset,
sourcepub fn private_ip_address(
self,
value: impl Into<Output<Option<String>>>,
) -> EipAssociationArgsBuilder<SetPrivateIpAddress<S>>where
S::PrivateIpAddress: IsUnset,
pub fn private_ip_address(
self,
value: impl Into<Output<Option<String>>>,
) -> EipAssociationArgsBuilder<SetPrivateIpAddress<S>>where
S::PrivateIpAddress: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The primary or secondary private IP address to associate with the Elastic IP address. If no private IP address is specified, the Elastic IP address is associated with the primary private IP address.
sourcepub fn maybe_private_ip_address(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> EipAssociationArgsBuilder<SetPrivateIpAddress<S>>where
S::PrivateIpAddress: IsUnset,
pub fn maybe_private_ip_address(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> EipAssociationArgsBuilder<SetPrivateIpAddress<S>>where
S::PrivateIpAddress: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The primary or secondary private IP address to associate with the Elastic IP address. If no private IP address is specified, the Elastic IP address is associated with the primary private IP address.