public class ImportContainerDraftBuilder extends Object implements io.vrap.rmf.base.client.Builder<ImportContainerDraft>
ImportContainerDraft importContainerDraft = ImportContainerDraft.builder()
.key("{key}")
.build()
Constructor and Description |
---|
ImportContainerDraftBuilder() |
Modifier and Type | Method and Description |
---|---|
ImportContainerDraft |
build() |
ImportContainerDraft |
buildUnchecked()
builds ImportContainerDraft without checking for non null required values
|
String |
getKey() |
ImportResourceType |
getResourceType() |
ImportContainerDraftBuilder |
key(String key)
User-defined unique identifier of the ImportContainer.
|
static ImportContainerDraftBuilder |
of() |
static ImportContainerDraftBuilder |
of(ImportContainerDraft template) |
ImportContainerDraftBuilder |
resourceType(ImportResourceType resourceType)
The resource type to be imported.
|
public ImportContainerDraftBuilder key(String key)
User-defined unique identifier of the ImportContainer. Keys can only contain alphanumeric characters (a-Z, 0-9), underscores and hyphens (_, -).
public ImportContainerDraftBuilder resourceType(@Nullable ImportResourceType resourceType)
The resource type to be imported. If not given, the ImportContainer is able to import all of the supported ImportResourceTypes.
public String getKey()
@Nullable public ImportResourceType getResourceType()
public ImportContainerDraft build()
build
in interface io.vrap.rmf.base.client.Builder<ImportContainerDraft>
public ImportContainerDraft buildUnchecked()
public static ImportContainerDraftBuilder of()
public static ImportContainerDraftBuilder of(ImportContainerDraft template)