Class CreateServiceIdOptions.Builder

  • Enclosing class:
    CreateServiceIdOptions

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

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

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

      • build

        public CreateServiceIdOptions build()
        Builds a CreateServiceIdOptions.
        Returns:
        the new CreateServiceIdOptions instance
      • addUniqueInstanceCrns

        public CreateServiceIdOptions.Builder addUniqueInstanceCrns​(java.lang.String uniqueInstanceCrns)
        Adds a new element to uniqueInstanceCrns.
        Parameters:
        uniqueInstanceCrns - the new element to be added
        Returns:
        the CreateServiceIdOptions builder
      • accountId

        public CreateServiceIdOptions.Builder accountId​(java.lang.String accountId)
        Set the accountId.
        Parameters:
        accountId - the accountId
        Returns:
        the CreateServiceIdOptions builder
      • name

        public CreateServiceIdOptions.Builder name​(java.lang.String name)
        Set the name.
        Parameters:
        name - the name
        Returns:
        the CreateServiceIdOptions builder
      • groupId

        public CreateServiceIdOptions.Builder groupId​(java.lang.String groupId)
        Set the groupId.
        Parameters:
        groupId - the groupId
        Returns:
        the CreateServiceIdOptions builder
      • description

        public CreateServiceIdOptions.Builder description​(java.lang.String description)
        Set the description.
        Parameters:
        description - the description
        Returns:
        the CreateServiceIdOptions builder
      • uniqueInstanceCrns

        public CreateServiceIdOptions.Builder uniqueInstanceCrns​(java.util.List<java.lang.String> uniqueInstanceCrns)
        Set the uniqueInstanceCrns. Existing uniqueInstanceCrns will be replaced.
        Parameters:
        uniqueInstanceCrns - the uniqueInstanceCrns
        Returns:
        the CreateServiceIdOptions builder
      • showGroupId

        public CreateServiceIdOptions.Builder showGroupId​(java.lang.String showGroupId)
        Set the showGroupId.
        Parameters:
        showGroupId - the showGroupId
        Returns:
        the CreateServiceIdOptions builder
      • entityLock

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