Class CreateZoneOptions.Builder

  • Enclosing class:
    CreateZoneOptions

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

      • Builder

        public Builder()
        Instantiates a new builder.
    • Method Detail

      • build

        public CreateZoneOptions build()
        Builds a CreateZoneOptions.
        Returns:
        the new CreateZoneOptions instance
      • addAddresses

        public CreateZoneOptions.Builder addAddresses​(Address addresses)
        Adds a new element to addresses.
        Parameters:
        addresses - the new element to be added
        Returns:
        the CreateZoneOptions builder
      • addExcluded

        public CreateZoneOptions.Builder addExcluded​(Address excluded)
        Adds a new element to excluded.
        Parameters:
        excluded - the new element to be added
        Returns:
        the CreateZoneOptions builder
      • name

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

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

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

        public CreateZoneOptions.Builder addresses​(java.util.List<Address> addresses)
        Set the addresses. Existing addresses will be replaced.
        Parameters:
        addresses - the addresses
        Returns:
        the CreateZoneOptions builder
      • excluded

        public CreateZoneOptions.Builder excluded​(java.util.List<Address> excluded)
        Set the excluded. Existing excluded will be replaced.
        Parameters:
        excluded - the excluded
        Returns:
        the CreateZoneOptions builder
      • xCorrelationId

        public CreateZoneOptions.Builder xCorrelationId​(java.lang.String xCorrelationId)
        Set the xCorrelationId.
        Parameters:
        xCorrelationId - the xCorrelationId
        Returns:
        the CreateZoneOptions builder
      • transactionId

        @Deprecated
        public CreateZoneOptions.Builder transactionId​(java.lang.String transactionId)
        Deprecated.
        this method is deprecated and may be removed in a future release
        Set the transactionId.
        Parameters:
        transactionId - the transactionId
        Returns:
        the CreateZoneOptions builder