Interface DockerServer.Builder

  • Method Details

    • computeType

      DockerServer.Builder computeType(String computeType)

      Information about the compute resources the docker server uses. Available values include:

      • BUILD_GENERAL1_SMALL: Use up to 4 GiB memory and 2 vCPUs for your docker server.

      • BUILD_GENERAL1_MEDIUM: Use up to 8 GiB memory and 4 vCPUs for your docker server.

      • BUILD_GENERAL1_LARGE: Use up to 16 GiB memory and 8 vCPUs for your docker server.

      • BUILD_GENERAL1_XLARGE: Use up to 64 GiB memory and 32 vCPUs for your docker server.

      • BUILD_GENERAL1_2XLARGE: Use up to 128 GiB memory and 64 vCPUs for your docker server.

      Parameters:
      computeType - Information about the compute resources the docker server uses. Available values include:

      • BUILD_GENERAL1_SMALL: Use up to 4 GiB memory and 2 vCPUs for your docker server.

      • BUILD_GENERAL1_MEDIUM: Use up to 8 GiB memory and 4 vCPUs for your docker server.

      • BUILD_GENERAL1_LARGE: Use up to 16 GiB memory and 8 vCPUs for your docker server.

      • BUILD_GENERAL1_XLARGE: Use up to 64 GiB memory and 32 vCPUs for your docker server.

      • BUILD_GENERAL1_2XLARGE: Use up to 128 GiB memory and 64 vCPUs for your docker server.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • computeType

      DockerServer.Builder computeType(ComputeType computeType)

      Information about the compute resources the docker server uses. Available values include:

      • BUILD_GENERAL1_SMALL: Use up to 4 GiB memory and 2 vCPUs for your docker server.

      • BUILD_GENERAL1_MEDIUM: Use up to 8 GiB memory and 4 vCPUs for your docker server.

      • BUILD_GENERAL1_LARGE: Use up to 16 GiB memory and 8 vCPUs for your docker server.

      • BUILD_GENERAL1_XLARGE: Use up to 64 GiB memory and 32 vCPUs for your docker server.

      • BUILD_GENERAL1_2XLARGE: Use up to 128 GiB memory and 64 vCPUs for your docker server.

      Parameters:
      computeType - Information about the compute resources the docker server uses. Available values include:

      • BUILD_GENERAL1_SMALL: Use up to 4 GiB memory and 2 vCPUs for your docker server.

      • BUILD_GENERAL1_MEDIUM: Use up to 8 GiB memory and 4 vCPUs for your docker server.

      • BUILD_GENERAL1_LARGE: Use up to 16 GiB memory and 8 vCPUs for your docker server.

      • BUILD_GENERAL1_XLARGE: Use up to 64 GiB memory and 32 vCPUs for your docker server.

      • BUILD_GENERAL1_2XLARGE: Use up to 128 GiB memory and 64 vCPUs for your docker server.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • securityGroupIds

      DockerServer.Builder securityGroupIds(Collection<String> securityGroupIds)

      A list of one or more security groups IDs.

      Security groups configured for Docker servers should allow ingress network traffic from the VPC configured in the project. They should allow ingress on port 9876.

      Parameters:
      securityGroupIds - A list of one or more security groups IDs.

      Security groups configured for Docker servers should allow ingress network traffic from the VPC configured in the project. They should allow ingress on port 9876.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • securityGroupIds

      DockerServer.Builder securityGroupIds(String... securityGroupIds)

      A list of one or more security groups IDs.

      Security groups configured for Docker servers should allow ingress network traffic from the VPC configured in the project. They should allow ingress on port 9876.

      Parameters:
      securityGroupIds - A list of one or more security groups IDs.

      Security groups configured for Docker servers should allow ingress network traffic from the VPC configured in the project. They should allow ingress on port 9876.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      A DockerServerStatus object to use for this docker server.

      Parameters:
      status - A DockerServerStatus object to use for this docker server.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      A DockerServerStatus object to use for this docker server.

      This is a convenience method that creates an instance of the DockerServerStatus.Builder avoiding the need to create one manually via DockerServerStatus.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to status(DockerServerStatus).

      Parameters:
      status - a consumer that will call methods on DockerServerStatus.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: