com.sap.cloud.security.ams.dcl.client.dcn.DcnSchemaBuilder Maven / Gradle / Ivy
The newest version!
/************************************************************************
* © 2019-2024 SAP SE or an SAP affiliate company. All rights reserved. *
************************************************************************/
package com.sap.cloud.security.ams.dcl.client.dcn;
import java.util.function.Consumer;
import com.sap.cloud.security.ams.dcl.client.annotation.Beta;
import com.sap.cloud.security.ams.dcl.client.el.AttributeName;
@Beta
public interface DcnSchemaBuilder {
public interface Structure {
Structure structure(String name);
Structure attribute(String name, DataType type);
Structure attribute(String name, DataType type, Consumer c);
Structure end();
DcnSchemaBuilder builder();
}
DcnSchemaBuilder attribute(AttributeName attName, DataType type);
DcnSchemaBuilder attribute(AttributeName attName, DataType type, Consumer c);
Structure app();
Structure env();
Schema build();
}