Interface GetComputeAccessResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetComputeAccessResponse.Builder,
,GetComputeAccessResponse> GameLiftResponse.Builder
,SdkBuilder<GetComputeAccessResponse.Builder,
,GetComputeAccessResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetComputeAccessResponse
-
Method Summary
Modifier and TypeMethodDescriptioncomputeArn
(String computeArn) The Amazon Resource Name (ARN) that is assigned to an Amazon GameLift compute resource and uniquely identifies it.computeName
(String computeName) The identifier of the compute resource to be accessed.default GetComputeAccessResponse.Builder
credentials
(Consumer<Credentials.Builder> credentials) A set of temporary Amazon Web Services credentials for use when connecting to the compute resource with Amazon EC2 Systems Manager (SSM).credentials
(Credentials credentials) A set of temporary Amazon Web Services credentials for use when connecting to the compute resource with Amazon EC2 Systems Manager (SSM).The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift fleet resource and uniquely identifies it.The ID of the fleet that holds the compute resource to be accessed.(For container fleets only) The instance ID where the compute resource is running.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.gamelift.model.GameLiftResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
fleetId
The ID of the fleet that holds the compute resource to be accessed.
- Parameters:
fleetId
- The ID of the fleet that holds the compute resource to be accessed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fleetArn
The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift fleet resource and uniquely identifies it. ARNs are unique across all Regions. Format is
arn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
.- Parameters:
fleetArn
- The Amazon Resource Name (ARN) that is assigned to a Amazon GameLift fleet resource and uniquely identifies it. ARNs are unique across all Regions. Format isarn:aws:gamelift:<region>::fleet/fleet-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
computeName
The identifier of the compute resource to be accessed. This value might be either a compute name or an instance ID.
- Parameters:
computeName
- The identifier of the compute resource to be accessed. This value might be either a compute name or an instance ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
computeArn
The Amazon Resource Name (ARN) that is assigned to an Amazon GameLift compute resource and uniquely identifies it. ARNs are unique across all Regions. Format is
arn:aws:gamelift:<region>::compute/compute-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
.- Parameters:
computeArn
- The Amazon Resource Name (ARN) that is assigned to an Amazon GameLift compute resource and uniquely identifies it. ARNs are unique across all Regions. Format isarn:aws:gamelift:<region>::compute/compute-a1234567-b8c9-0d1e-2fa3-b45c6d7e8912
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credentials
A set of temporary Amazon Web Services credentials for use when connecting to the compute resource with Amazon EC2 Systems Manager (SSM).
- Parameters:
credentials
- A set of temporary Amazon Web Services credentials for use when connecting to the compute resource with Amazon EC2 Systems Manager (SSM).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
credentials
A set of temporary Amazon Web Services credentials for use when connecting to the compute resource with Amazon EC2 Systems Manager (SSM).
This is a convenience method that creates an instance of theCredentials.Builder
avoiding the need to create one manually viaCredentials.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocredentials(Credentials)
.- Parameters:
credentials
- a consumer that will call methods onCredentials.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
target
(For container fleets only) The instance ID where the compute resource is running.
- Parameters:
target
- (For container fleets only) The instance ID where the compute resource is running.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-