Class ContainerReference.Builder

  • Enclosing class:
    ContainerReference

    public static class ContainerReference.Builder
    extends java.lang.Object
    Builder.
    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

        public Builder​(java.lang.String id,
                       java.lang.String type)
        Instantiates a new builder with required properties.
        Parameters:
        id - the id
        type - the type
    • Method Detail

      • build

        public ContainerReference build()
        Builds a ContainerReference.
        Returns:
        the new ContainerReference instance
      • id

        public ContainerReference.Builder id​(java.lang.String id)
        Set the id.
        Parameters:
        id - the id
        Returns:
        the ContainerReference builder
      • type

        public ContainerReference.Builder type​(java.lang.String type)
        Set the type.
        Parameters:
        type - the type
        Returns:
        the ContainerReference builder