Class UpdateSecondaryZoneOptions.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Instantiates a new builder.
      • Builder

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

      • build

        public UpdateSecondaryZoneOptions build()
        Builds a UpdateSecondaryZoneOptions.
        Returns:
        the new UpdateSecondaryZoneOptions instance
      • addTransferFrom

        public UpdateSecondaryZoneOptions.Builder addTransferFrom​(String transferFrom)
        Adds an transferFrom to transferFrom.
        Parameters:
        transferFrom - the new transferFrom
        Returns:
        the UpdateSecondaryZoneOptions builder
      • secondaryZoneId

        public UpdateSecondaryZoneOptions.Builder secondaryZoneId​(String secondaryZoneId)
        Set the secondaryZoneId.
        Parameters:
        secondaryZoneId - the secondaryZoneId
        Returns:
        the UpdateSecondaryZoneOptions builder
      • description

        public UpdateSecondaryZoneOptions.Builder description​(String description)
        Set the description.
        Parameters:
        description - the description
        Returns:
        the UpdateSecondaryZoneOptions builder
      • transferFrom

        public UpdateSecondaryZoneOptions.Builder transferFrom​(List<String> transferFrom)
        Set the transferFrom. Existing transferFrom will be replaced.
        Parameters:
        transferFrom - the transferFrom
        Returns:
        the UpdateSecondaryZoneOptions builder
      • xCorrelationId

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