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 Servers compute resource and uniquely identifies it.computeName
(String computeName) The identifier of the compute resource to be accessed.containerIdentifiers
(Collection<ContainerIdentifier> containerIdentifiers) For a managed container fleet, a list of containers on the compute.containerIdentifiers
(Consumer<ContainerIdentifier.Builder>... containerIdentifiers) For a managed container fleet, a list of containers on the compute.containerIdentifiers
(ContainerIdentifier... containerIdentifiers) For a managed container fleet, a list of containers on the compute.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 Servers fleet resource and uniquely identifies it.The ID of the fleet that holds the compute resource to be accessed.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, sdkFieldNameToField, 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 Servers 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 Servers 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 Servers 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 Servers 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
The instance ID where the compute resource is running.
- Parameters:
target
- The instance ID where the compute resource is running.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerIdentifiers
GetComputeAccessResponse.Builder containerIdentifiers(Collection<ContainerIdentifier> containerIdentifiers) For a managed container fleet, a list of containers on the compute. Use the container runtime ID with Docker commands to connect to a specific container.
- Parameters:
containerIdentifiers
- For a managed container fleet, a list of containers on the compute. Use the container runtime ID with Docker commands to connect to a specific container.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerIdentifiers
For a managed container fleet, a list of containers on the compute. Use the container runtime ID with Docker commands to connect to a specific container.
- Parameters:
containerIdentifiers
- For a managed container fleet, a list of containers on the compute. Use the container runtime ID with Docker commands to connect to a specific container.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerIdentifiers
GetComputeAccessResponse.Builder containerIdentifiers(Consumer<ContainerIdentifier.Builder>... containerIdentifiers) For a managed container fleet, a list of containers on the compute. Use the container runtime ID with Docker commands to connect to a specific container.
This is a convenience method that creates an instance of theContainerIdentifier.Builder
avoiding the need to create one manually viaContainerIdentifier.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocontainerIdentifiers(List<ContainerIdentifier>)
.- Parameters:
containerIdentifiers
- a consumer that will call methods onContainerIdentifier.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-