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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default InstanceAccess.Buildercredentials(Consumer<InstanceCredentials.Builder> credentials)Security credentials that are required to access the instance.InstanceAccess.Buildercredentials(InstanceCredentials credentials)Security credentials that are required to access the instance.InstanceAccess.BuilderfleetId(String fleetId)A unique identifier for the fleet containing the instance to be accessed.InstanceAccess.BuilderinstanceId(String instanceId)A unique identifier for the instance to be accessed.InstanceAccess.BuilderipAddress(String ipAddress)IP address assigned to the instance.InstanceAccess.BuilderoperatingSystem(String operatingSystem)Operating system that is running on the instance.InstanceAccess.BuilderoperatingSystem(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 Detail
-
fleetId
InstanceAccess.Builder fleetId(String 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
InstanceAccess.Builder instanceId(String 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
InstanceAccess.Builder ipAddress(String 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
InstanceAccess.Builder operatingSystem(String 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,OperatingSystem
-
operatingSystem
InstanceAccess.Builder operatingSystem(OperatingSystem 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,OperatingSystem
-
credentials
InstanceAccess.Builder credentials(InstanceCredentials 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
default InstanceAccess.Builder credentials(Consumer<InstanceCredentials.Builder> credentials)
Security credentials that are required to access the instance.
This is a convenience method that creates an instance of theInstanceCredentials.Builderavoiding the need to create one manually viaInstanceCredentials.builder().When the
Consumercompletes,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:
credentials(InstanceCredentials)
-
-