public class NamespaceOptionsElement extends Object
A nested element used by CreateNamespaceTask
that describes the options
to create a namespace with.
Attribute |
Description |
Required |
replicatedstorageresource |
Name of the replicated storage resource to use with the namespace. |
No. |
withsessionownershipfacility |
Boolean flag indicating whether or not the namespace should include a session ownership facility. |
No. Defaults to false. |
Constructor and Description |
---|
NamespaceOptionsElement() |
Modifier and Type | Method and Description |
---|---|
NamespaceOptions |
createOptions() |
String |
getReplicatedStorageResource() |
boolean |
isWithSessionOwnershipFacility() |
void |
setReplicatedStorageResource(String replicatedStorageResource) |
void |
setWithSessionOwnershipFacility(boolean withSessionOwnershipFacility) |
String |
toString() |
public void setReplicatedStorageResource(String replicatedStorageResource)
public String getReplicatedStorageResource()
public void setWithSessionOwnershipFacility(boolean withSessionOwnershipFacility)
public boolean isWithSessionOwnershipFacility()
public NamespaceOptions createOptions()