azure-docs-sdk-java/docs-ref-autogen/com.azure.resourcemanager.a...

222 строки
18 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.authorization.models.ApprovalStage"
fullName: "com.azure.resourcemanager.authorization.models.ApprovalStage"
name: "ApprovalStage"
nameWithType: "ApprovalStage"
summary: "The approval stage."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **ApprovalStage**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.authorization.models.ApprovalStage?alt=com.azure.resourcemanager.authorization.models.ApprovalStage&text=ApprovalStage\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.resourcemanager.authorization.models.ApprovalStage.ApprovalStage()"
fullName: "com.azure.resourcemanager.authorization.models.ApprovalStage.ApprovalStage()"
name: "ApprovalStage()"
nameWithType: "ApprovalStage.ApprovalStage()"
summary: "Creates an instance of Approval<wbr>Stage class."
syntax: "public ApprovalStage()"
desc: "Creates an instance of ApprovalStage class."
methods:
- uid: "com.azure.resourcemanager.authorization.models.ApprovalStage.approvalStageTimeOutInDays()"
fullName: "com.azure.resourcemanager.authorization.models.ApprovalStage.approvalStageTimeOutInDays()"
name: "approvalStageTimeOutInDays()"
nameWithType: "ApprovalStage.approvalStageTimeOutInDays()"
summary: "Get the approval<wbr>Stage<wbr>Time<wbr>Out<wbr>InDays property: The time in days when approval request would be timed out."
syntax: "public Integer approvalStageTimeOutInDays()"
desc: "Get the approvalStageTimeOutInDays property: The time in days when approval request would be timed out."
returns:
description: "the approvalStageTimeOutInDays value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
- uid: "com.azure.resourcemanager.authorization.models.ApprovalStage.escalationApprovers()"
fullName: "com.azure.resourcemanager.authorization.models.ApprovalStage.escalationApprovers()"
name: "escalationApprovers()"
nameWithType: "ApprovalStage.escalationApprovers()"
summary: "Get the escalation<wbr>Approvers property: The escalation approver of the request."
syntax: "public List<UserSet> escalationApprovers()"
desc: "Get the escalationApprovers property: The escalation approver of the request."
returns:
description: "the escalationApprovers value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.authorization.models.UserSet?alt=com.azure.resourcemanager.authorization.models.UserSet&text=UserSet\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.authorization.models.ApprovalStage.escalationTimeInMinutes()"
fullName: "com.azure.resourcemanager.authorization.models.ApprovalStage.escalationTimeInMinutes()"
name: "escalationTimeInMinutes()"
nameWithType: "ApprovalStage.escalationTimeInMinutes()"
summary: "Get the escalation<wbr>Time<wbr>InMinutes property: The time in minutes when the approval request would be escalated if the primary approver does not approve."
syntax: "public Integer escalationTimeInMinutes()"
desc: "Get the escalationTimeInMinutes property: The time in minutes when the approval request would be escalated if the primary approver does not approve."
returns:
description: "the escalationTimeInMinutes value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
- uid: "com.azure.resourcemanager.authorization.models.ApprovalStage.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.resourcemanager.authorization.models.ApprovalStage.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "ApprovalStage.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Approval<wbr>Stage from the Json<wbr>Reader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static ApprovalStage fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the ApprovalStage."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of ApprovalStage from the JsonReader."
returns:
description: "An instance of ApprovalStage if the JsonReader was pointing to an instance of it, or null if it was\n pointing to JSON null."
type: "<xref href=\"com.azure.resourcemanager.authorization.models.ApprovalStage?alt=com.azure.resourcemanager.authorization.models.ApprovalStage&text=ApprovalStage\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.authorization.models.ApprovalStage.isApproverJustificationRequired()"
fullName: "com.azure.resourcemanager.authorization.models.ApprovalStage.isApproverJustificationRequired()"
name: "isApproverJustificationRequired()"
nameWithType: "ApprovalStage.isApproverJustificationRequired()"
summary: "Get the is<wbr>Approver<wbr>Justification<wbr>Required property: Determines whether approver need to provide justification for his decision."
syntax: "public Boolean isApproverJustificationRequired()"
desc: "Get the isApproverJustificationRequired property: Determines whether approver need to provide justification for his decision."
returns:
description: "the isApproverJustificationRequired value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
- uid: "com.azure.resourcemanager.authorization.models.ApprovalStage.isEscalationEnabled()"
fullName: "com.azure.resourcemanager.authorization.models.ApprovalStage.isEscalationEnabled()"
name: "isEscalationEnabled()"
nameWithType: "ApprovalStage.isEscalationEnabled()"
summary: "Get the is<wbr>Escalation<wbr>Enabled property: The value determine whether escalation feature is enabled."
syntax: "public Boolean isEscalationEnabled()"
desc: "Get the isEscalationEnabled property: The value determine whether escalation feature is enabled."
returns:
description: "the isEscalationEnabled value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
- uid: "com.azure.resourcemanager.authorization.models.ApprovalStage.primaryApprovers()"
fullName: "com.azure.resourcemanager.authorization.models.ApprovalStage.primaryApprovers()"
name: "primaryApprovers()"
nameWithType: "ApprovalStage.primaryApprovers()"
summary: "Get the primary<wbr>Approvers property: The primary approver of the request."
syntax: "public List<UserSet> primaryApprovers()"
desc: "Get the primaryApprovers property: The primary approver of the request."
returns:
description: "the primaryApprovers value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.authorization.models.UserSet?alt=com.azure.resourcemanager.authorization.models.UserSet&text=UserSet\" data-throw-if-not-resolved=\"False\" />&gt;"
- uid: "com.azure.resourcemanager.authorization.models.ApprovalStage.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.resourcemanager.authorization.models.ApprovalStage.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "ApprovalStage.toJson(JsonWriter jsonWriter)"
parameters:
- name: "jsonWriter"
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
returns:
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.authorization.models.ApprovalStage.validate()"
fullName: "com.azure.resourcemanager.authorization.models.ApprovalStage.validate()"
name: "validate()"
nameWithType: "ApprovalStage.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.authorization.models.ApprovalStage.withApprovalStageTimeOutInDays(java.lang.Integer)"
fullName: "com.azure.resourcemanager.authorization.models.ApprovalStage.withApprovalStageTimeOutInDays(Integer approvalStageTimeOutInDays)"
name: "withApprovalStageTimeOutInDays(Integer approvalStageTimeOutInDays)"
nameWithType: "ApprovalStage.withApprovalStageTimeOutInDays(Integer approvalStageTimeOutInDays)"
summary: "Set the approval<wbr>Stage<wbr>Time<wbr>Out<wbr>InDays property: The time in days when approval request would be timed out."
parameters:
- description: "the approvalStageTimeOutInDays value to set."
name: "approvalStageTimeOutInDays"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
syntax: "public ApprovalStage withApprovalStageTimeOutInDays(Integer approvalStageTimeOutInDays)"
desc: "Set the approvalStageTimeOutInDays property: The time in days when approval request would be timed out."
returns:
description: "the ApprovalStage object itself."
type: "<xref href=\"com.azure.resourcemanager.authorization.models.ApprovalStage?alt=com.azure.resourcemanager.authorization.models.ApprovalStage&text=ApprovalStage\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.authorization.models.ApprovalStage.withEscalationApprovers(java.util.List<com.azure.resourcemanager.authorization.models.UserSet>)"
fullName: "com.azure.resourcemanager.authorization.models.ApprovalStage.withEscalationApprovers(List<UserSet> escalationApprovers)"
name: "withEscalationApprovers(List<UserSet> escalationApprovers)"
nameWithType: "ApprovalStage.withEscalationApprovers(List<UserSet> escalationApprovers)"
summary: "Set the escalation<wbr>Approvers property: The escalation approver of the request."
parameters:
- description: "the escalationApprovers value to set."
name: "escalationApprovers"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.authorization.models.UserSet?alt=com.azure.resourcemanager.authorization.models.UserSet&text=UserSet\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public ApprovalStage withEscalationApprovers(List<UserSet> escalationApprovers)"
desc: "Set the escalationApprovers property: The escalation approver of the request."
returns:
description: "the ApprovalStage object itself."
type: "<xref href=\"com.azure.resourcemanager.authorization.models.ApprovalStage?alt=com.azure.resourcemanager.authorization.models.ApprovalStage&text=ApprovalStage\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.authorization.models.ApprovalStage.withEscalationTimeInMinutes(java.lang.Integer)"
fullName: "com.azure.resourcemanager.authorization.models.ApprovalStage.withEscalationTimeInMinutes(Integer escalationTimeInMinutes)"
name: "withEscalationTimeInMinutes(Integer escalationTimeInMinutes)"
nameWithType: "ApprovalStage.withEscalationTimeInMinutes(Integer escalationTimeInMinutes)"
summary: "Set the escalation<wbr>Time<wbr>InMinutes property: The time in minutes when the approval request would be escalated if the primary approver does not approve."
parameters:
- description: "the escalationTimeInMinutes value to set."
name: "escalationTimeInMinutes"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Integer.html\">Integer</a>"
syntax: "public ApprovalStage withEscalationTimeInMinutes(Integer escalationTimeInMinutes)"
desc: "Set the escalationTimeInMinutes property: The time in minutes when the approval request would be escalated if the primary approver does not approve."
returns:
description: "the ApprovalStage object itself."
type: "<xref href=\"com.azure.resourcemanager.authorization.models.ApprovalStage?alt=com.azure.resourcemanager.authorization.models.ApprovalStage&text=ApprovalStage\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.authorization.models.ApprovalStage.withIsApproverJustificationRequired(java.lang.Boolean)"
fullName: "com.azure.resourcemanager.authorization.models.ApprovalStage.withIsApproverJustificationRequired(Boolean isApproverJustificationRequired)"
name: "withIsApproverJustificationRequired(Boolean isApproverJustificationRequired)"
nameWithType: "ApprovalStage.withIsApproverJustificationRequired(Boolean isApproverJustificationRequired)"
summary: "Set the is<wbr>Approver<wbr>Justification<wbr>Required property: Determines whether approver need to provide justification for his decision."
parameters:
- description: "the isApproverJustificationRequired value to set."
name: "isApproverJustificationRequired"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
syntax: "public ApprovalStage withIsApproverJustificationRequired(Boolean isApproverJustificationRequired)"
desc: "Set the isApproverJustificationRequired property: Determines whether approver need to provide justification for his decision."
returns:
description: "the ApprovalStage object itself."
type: "<xref href=\"com.azure.resourcemanager.authorization.models.ApprovalStage?alt=com.azure.resourcemanager.authorization.models.ApprovalStage&text=ApprovalStage\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.authorization.models.ApprovalStage.withIsEscalationEnabled(java.lang.Boolean)"
fullName: "com.azure.resourcemanager.authorization.models.ApprovalStage.withIsEscalationEnabled(Boolean isEscalationEnabled)"
name: "withIsEscalationEnabled(Boolean isEscalationEnabled)"
nameWithType: "ApprovalStage.withIsEscalationEnabled(Boolean isEscalationEnabled)"
summary: "Set the is<wbr>Escalation<wbr>Enabled property: The value determine whether escalation feature is enabled."
parameters:
- description: "the isEscalationEnabled value to set."
name: "isEscalationEnabled"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
syntax: "public ApprovalStage withIsEscalationEnabled(Boolean isEscalationEnabled)"
desc: "Set the isEscalationEnabled property: The value determine whether escalation feature is enabled."
returns:
description: "the ApprovalStage object itself."
type: "<xref href=\"com.azure.resourcemanager.authorization.models.ApprovalStage?alt=com.azure.resourcemanager.authorization.models.ApprovalStage&text=ApprovalStage\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.authorization.models.ApprovalStage.withPrimaryApprovers(java.util.List<com.azure.resourcemanager.authorization.models.UserSet>)"
fullName: "com.azure.resourcemanager.authorization.models.ApprovalStage.withPrimaryApprovers(List<UserSet> primaryApprovers)"
name: "withPrimaryApprovers(List<UserSet> primaryApprovers)"
nameWithType: "ApprovalStage.withPrimaryApprovers(List<UserSet> primaryApprovers)"
summary: "Set the primary<wbr>Approvers property: The primary approver of the request."
parameters:
- description: "the primaryApprovers value to set."
name: "primaryApprovers"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<xref href=\"com.azure.resourcemanager.authorization.models.UserSet?alt=com.azure.resourcemanager.authorization.models.UserSet&text=UserSet\" data-throw-if-not-resolved=\"False\" />&gt;"
syntax: "public ApprovalStage withPrimaryApprovers(List<UserSet> primaryApprovers)"
desc: "Set the primaryApprovers property: The primary approver of the request."
returns:
description: "the ApprovalStage object itself."
type: "<xref href=\"com.azure.resourcemanager.authorization.models.ApprovalStage?alt=com.azure.resourcemanager.authorization.models.ApprovalStage&text=ApprovalStage\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "The approval stage."
implements:
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.resourcemanager.authorization.models.ApprovalStage?alt=com.azure.resourcemanager.authorization.models.ApprovalStage&text=ApprovalStage\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.resourcemanager.authorization.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-authorization:2.44.0