Class BatchResponse.Builder

  • Enclosing class:
    BatchResponse

    public static final class BatchResponse.Builder
    extends java.lang.Object
    Builder class for BatchResponse.
    • Constructor Detail

      • Builder

        public Builder()
        Constructor with parameters for the required properties of BatchResponse.
    • Method Detail

      • setHasErrors

        public BatchResponse.Builder setHasErrors​(java.lang.Boolean hasErrors)
        Indicates if any of the APIs failed
        Parameters:
        hasErrors - New value for the property.
      • setRolledBack

        public BatchResponse.Builder setRolledBack​(java.lang.Boolean rolledBack)
        Optional flag indicating that all items were rolled back even if succeeded initially
        Parameters:
        rolledBack - New value for the property.