public class PolicySet extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
| Modifier and Type | Class and Description |
|---|---|
static class |
PolicySet.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected OffsetDateTime |
createdDateTime |
protected String |
description |
protected String |
displayName |
protected ErrorCode |
errorCode |
protected List<String> |
guidedDeploymentTags |
protected String |
guidedDeploymentTagsNextLink |
protected OffsetDateTime |
lastModifiedDateTime |
protected List<String> |
roleScopeTags |
protected String |
roleScopeTagsNextLink |
protected PolicySetStatus |
status |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
PolicySet() |
| Modifier and Type | Method and Description |
|---|---|
static PolicySet.Builder |
builderPolicySet()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
PolicySetAssignmentCollectionRequest |
getAssignments()
“Assignments of the PolicySet.”
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<OffsetDateTime> |
getCreatedDateTime()
“Creation time of the PolicySet.”
|
Optional<String> |
getDescription()
“Description of the PolicySet.”
|
Optional<String> |
getDisplayName()
“DisplayName of the PolicySet.”
|
Optional<ErrorCode> |
getErrorCode()
“Error code if any occured.”
|
com.github.davidmoten.odata.client.CollectionPage<String> |
getGuidedDeploymentTags()
“Tags of the guided deployment”
|
com.github.davidmoten.odata.client.CollectionPage<String> |
getGuidedDeploymentTags(com.github.davidmoten.odata.client.HttpRequestOptions options)
“Tags of the guided deployment”
|
PolicySetItemCollectionRequest |
getItems()
“Items of the PolicySet with maximum count 100.”
|
Optional<OffsetDateTime> |
getLastModifiedDateTime()
“Last modified time of the PolicySet.”
|
com.github.davidmoten.odata.client.CollectionPage<String> |
getRoleScopeTags()
“RoleScopeTags of the PolicySet”
|
com.github.davidmoten.odata.client.CollectionPage<String> |
getRoleScopeTags(com.github.davidmoten.odata.client.HttpRequestOptions options)
“RoleScopeTags of the PolicySet”
|
Optional<PolicySetStatus> |
getStatus()
“Validation/assignment status of the PolicySet.”
|
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
PolicySet |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
PolicySet |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
com.github.davidmoten.odata.client.ActionRequestNoReturn |
update(List<PolicySetItem> addedPolicySetItems,
List<PolicySetItem> updatedPolicySetItems,
List<String> deletedPolicySetItems,
List<PolicySetAssignment> assignments) |
PolicySet |
withCreatedDateTime(OffsetDateTime createdDateTime)
Returns an immutable copy of
this with just the createdDateTime
field changed. |
PolicySet |
withDescription(String description)
Returns an immutable copy of
this with just the description
field changed. |
PolicySet |
withDisplayName(String displayName)
Returns an immutable copy of
this with just the displayName
field changed. |
PolicySet |
withErrorCode(ErrorCode errorCode)
Returns an immutable copy of
this with just the errorCode field
changed. |
PolicySet |
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
Returns an immutable copy of
this with just the lastModifiedDateTime field changed. |
PolicySet |
withStatus(PolicySetStatus status)
Returns an immutable copy of
this with just the status field
changed. |
protected OffsetDateTime createdDateTime
protected OffsetDateTime lastModifiedDateTime
protected String displayName
protected String description
protected PolicySetStatus status
protected ErrorCode errorCode
protected String guidedDeploymentTagsNextLink
protected String roleScopeTagsNextLink
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static PolicySet.Builder builderPolicySet()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Entitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Entitypublic Optional<OffsetDateTime> getCreatedDateTime()
public PolicySet withCreatedDateTime(OffsetDateTime createdDateTime)
this with just the createdDateTime
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Creation time of the PolicySet.”
createdDateTime - new value of createdDateTime field (as defined in service metadata)this with just the createdDateTime field changedpublic Optional<OffsetDateTime> getLastModifiedDateTime()
public PolicySet withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
this with just the lastModifiedDateTime field changed. Field description below. The field name is
also added to an internal map of changed fields in the returned object so that
when this.patch() is called (if available)on the returned object only
the changed fields are submitted.
“Last modified time of the PolicySet.”
lastModifiedDateTime - new value of lastModifiedDateTime field (as defined in service metadata)this with just the lastModifiedDateTime field changedpublic Optional<String> getDisplayName()
public PolicySet withDisplayName(String displayName)
this with just the displayName
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“DisplayName of the PolicySet.”
displayName - new value of displayName field (as defined in service metadata)this with just the displayName field changedpublic Optional<String> getDescription()
public PolicySet withDescription(String description)
this with just the description
field changed. Field description below. The field name is also added to an
internal map of changed fields in the returned object so that when this.
patch() is called (if available)on the returned object only the changed fields
are submitted.
“Description of the PolicySet.”
description - new value of description field (as defined in service metadata)this with just the description field changedpublic Optional<PolicySetStatus> getStatus()
public PolicySet withStatus(PolicySetStatus status)
this with just the status field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“Validation/assignment status of the PolicySet.”
status - new value of status field (as defined in service metadata)this with just the status field changedpublic Optional<ErrorCode> getErrorCode()
public PolicySet withErrorCode(ErrorCode errorCode)
this with just the errorCode field
changed. Field description below. The field name is also added to an internal
map of changed fields in the returned object so that when this.patch()
is called (if available)on the returned object only the changed fields are
submitted.
“Error code if any occured.”
errorCode - new value of errorCode field (as defined in service metadata)this with just the errorCode field changedpublic com.github.davidmoten.odata.client.CollectionPage<String> getGuidedDeploymentTags()
public com.github.davidmoten.odata.client.CollectionPage<String> getGuidedDeploymentTags(com.github.davidmoten.odata.client.HttpRequestOptions options)
public com.github.davidmoten.odata.client.CollectionPage<String> getRoleScopeTags()
public com.github.davidmoten.odata.client.CollectionPage<String> getRoleScopeTags(com.github.davidmoten.odata.client.HttpRequestOptions options)
public PolicySetAssignmentCollectionRequest getAssignments()
public PolicySetItemCollectionRequest getItems()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic PolicySet patch()
this with changed fields reset.public PolicySet put()
this
with changed fields reset (they were ignored anyway).public com.github.davidmoten.odata.client.ActionRequestNoReturn update(List<PolicySetItem> addedPolicySetItems, List<PolicySetItem> updatedPolicySetItems, List<String> deletedPolicySetItems, List<PolicySetAssignment> assignments)
Copyright © 2018–2020. All rights reserved.