GovernanceAssignmentInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. security. fluent. models. GovernanceAssignmentInner
- com.
- com.
public final class GovernanceAssignmentInner
extends ProxyResource
Governance assignment over a given scope.
Constructor Summary
| Constructor | Description |
|---|---|
| GovernanceAssignmentInner() |
Creates an instance of Governance |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Governance |
additionalData()
Get the additional |
|
static
Governance |
fromJson(JsonReader jsonReader)
Reads an instance of Governance |
|
Governance |
governanceEmailNotification()
Get the governance |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| Boolean |
isGracePeriod()
Get the is |
| String |
name()
Get the name property: The name of the resource. |
| String |
owner()
Get the owner property: The Owner for the governance assignment - e. |
|
Offset |
remediationDueDate()
Get the remediation |
|
Remediation |
remediationEta()
Get the remediation |
|
System |
systemData()
Get the system |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Governance |
withAdditionalData(GovernanceAssignmentAdditionalData additionalData)
Set the additional |
|
Governance |
withGovernanceEmailNotification(GovernanceEmailNotification governanceEmailNotification)
Set the governance |
|
Governance |
withIsGracePeriod(Boolean isGracePeriod)
Set the is |
|
Governance |
withOwner(String owner)
Set the owner property: The Owner for the governance assignment - e. |
|
Governance |
withRemediationDueDate(OffsetDateTime remediationDueDate)
Set the remediation |
|
Governance |
withRemediationEta(RemediationEta remediationEta)
Set the remediation |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
GovernanceAssignmentInner
public GovernanceAssignmentInner()
Creates an instance of GovernanceAssignmentInner class.
Method Details
additionalData
public GovernanceAssignmentAdditionalData additionalData()
Get the additionalData property: The additional data for the governance assignment - e.g. links to ticket (optional), see example.
Returns:
fromJson
public static GovernanceAssignmentInner fromJson(JsonReader jsonReader)
Reads an instance of GovernanceAssignmentInner from the JsonReader.
Parameters:
Returns:
Throws:
governanceEmailNotification
public GovernanceEmailNotification governanceEmailNotification()
Get the governanceEmailNotification property: The email notifications settings for the governance rule, states whether to disable notifications for mangers and owners.
Returns:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
GovernanceAssignmentInner.id()Returns:
isGracePeriod
public Boolean isGracePeriod()
Get the isGracePeriod property: Defines whether there is a grace period on the governance assignment.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
GovernanceAssignmentInner.name()Returns:
owner
public String owner()
Get the owner property: The Owner for the governance assignment - e.g. user@contoso.com - see example.
Returns:
remediationDueDate
public OffsetDateTime remediationDueDate()
Get the remediationDueDate property: The remediation due-date - after this date Secure Score will be affected (in case of active grace-period).
Returns:
remediationEta
public RemediationEta remediationEta()
Get the remediationEta property: The ETA (estimated time of arrival) for remediation (optional), see example.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
GovernanceAssignmentInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
GovernanceAssignmentInner.type()Returns:
validate
public void validate()
Validates the instance.
withAdditionalData
public GovernanceAssignmentInner withAdditionalData(GovernanceAssignmentAdditionalData additionalData)
Set the additionalData property: The additional data for the governance assignment - e.g. links to ticket (optional), see example.
Parameters:
Returns:
withGovernanceEmailNotification
public GovernanceAssignmentInner withGovernanceEmailNotification(GovernanceEmailNotification governanceEmailNotification)
Set the governanceEmailNotification property: The email notifications settings for the governance rule, states whether to disable notifications for mangers and owners.
Parameters:
Returns:
withIsGracePeriod
public GovernanceAssignmentInner withIsGracePeriod(Boolean isGracePeriod)
Set the isGracePeriod property: Defines whether there is a grace period on the governance assignment.
Parameters:
Returns:
withOwner
public GovernanceAssignmentInner withOwner(String owner)
Set the owner property: The Owner for the governance assignment - e.g. user@contoso.com - see example.
Parameters:
Returns:
withRemediationDueDate
public GovernanceAssignmentInner withRemediationDueDate(OffsetDateTime remediationDueDate)
Set the remediationDueDate property: The remediation due-date - after this date Secure Score will be affected (in case of active grace-period).
Parameters:
Returns:
withRemediationEta
public GovernanceAssignmentInner withRemediationEta(RemediationEta remediationEta)
Set the remediationEta property: The ETA (estimated time of arrival) for remediation (optional), see example.
Parameters:
Returns: