Class GetPoolOptions.Builder

  • Enclosing class:
    GetPoolOptions

    public static class GetPoolOptions.Builder
    extends Object
    Builder.
    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

        public Builder​(String instanceId,
                       String poolId)
        Instantiates a new builder with required properties.
        Parameters:
        instanceId - the instanceId
        poolId - the poolId
    • Method Detail

      • build

        public GetPoolOptions build()
        Builds a GetPoolOptions.
        Returns:
        the new GetPoolOptions instance
      • instanceId

        public GetPoolOptions.Builder instanceId​(String instanceId)
        Set the instanceId.
        Parameters:
        instanceId - the instanceId
        Returns:
        the GetPoolOptions builder
      • poolId

        public GetPoolOptions.Builder poolId​(String poolId)
        Set the poolId.
        Parameters:
        poolId - the poolId
        Returns:
        the GetPoolOptions builder
      • xCorrelationId

        public GetPoolOptions.Builder xCorrelationId​(String xCorrelationId)
        Set the xCorrelationId.
        Parameters:
        xCorrelationId - the xCorrelationId
        Returns:
        the GetPoolOptions builder