Interface InstanceAccess.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<InstanceAccess.Builder,
,InstanceAccess> SdkBuilder<InstanceAccess.Builder,
,InstanceAccess> SdkPojo
- Enclosing class:
InstanceAccess
public static interface InstanceAccess.Builder
extends SdkPojo, CopyableBuilder<InstanceAccess.Builder,InstanceAccess>
-
Method Summary
Modifier and TypeMethodDescriptiondefault InstanceAccess.Builder
credentials
(Consumer<InstanceCredentials.Builder> credentials) Security credentials that are required to access the instance.credentials
(InstanceCredentials credentials) Security credentials that are required to access the instance.A unique identifier for the fleet containing the instance to be accessed.instanceId
(String instanceId) A unique identifier for the instance to be accessed.IP address assigned to the instance.operatingSystem
(String operatingSystem) Operating system that is running on the instance.operatingSystem
(OperatingSystem operatingSystem) Operating system that is running on the instance.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
fleetId
A unique identifier for the fleet containing the instance to be accessed.
- Parameters:
fleetId
- A unique identifier for the fleet containing the instance to be accessed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceId
A unique identifier for the instance to be accessed.
- Parameters:
instanceId
- A unique identifier for the instance to be accessed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ipAddress
IP address assigned to the instance.
- Parameters:
ipAddress
- IP address assigned to the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operatingSystem
Operating system that is running on the instance.
- Parameters:
operatingSystem
- Operating system that is running on the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
operatingSystem
Operating system that is running on the instance.
- Parameters:
operatingSystem
- Operating system that is running on the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
credentials
Security credentials that are required to access the instance.
- Parameters:
credentials
- Security credentials that are required to access the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credentials
Security credentials that are required to access the instance.
This is a convenience method that creates an instance of theInstanceCredentials.Builder
avoiding the need to create one manually viaInstanceCredentials.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocredentials(InstanceCredentials)
.- Parameters:
credentials
- a consumer that will call methods onInstanceCredentials.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-