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

117 строки
9.0 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.resourcemanager.resourcemover.models.DiscardRequest"
fullName: "com.azure.resourcemanager.resourcemover.models.DiscardRequest"
name: "DiscardRequest"
nameWithType: "DiscardRequest"
summary: "Defines the request body for discard operation."
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 **DiscardRequest**"
constructors:
- uid: "com.azure.resourcemanager.resourcemover.models.DiscardRequest.DiscardRequest()"
fullName: "com.azure.resourcemanager.resourcemover.models.DiscardRequest.DiscardRequest()"
name: "DiscardRequest()"
nameWithType: "DiscardRequest.DiscardRequest()"
summary: "Creates an instance of Discard<wbr>Request class."
syntax: "public DiscardRequest()"
desc: "Creates an instance of DiscardRequest class."
methods:
- uid: "com.azure.resourcemanager.resourcemover.models.DiscardRequest.moveResourceInputType()"
fullName: "com.azure.resourcemanager.resourcemover.models.DiscardRequest.moveResourceInputType()"
name: "moveResourceInputType()"
nameWithType: "DiscardRequest.moveResourceInputType()"
summary: "Get the move<wbr>Resource<wbr>Input<wbr>Type property: Defines the move resource input type."
syntax: "public MoveResourceInputType moveResourceInputType()"
desc: "Get the moveResourceInputType property: Defines the move resource input type."
returns:
description: "the moveResourceInputType value."
type: "<xref href=\"com.azure.resourcemanager.resourcemover.models.MoveResourceInputType?alt=com.azure.resourcemanager.resourcemover.models.MoveResourceInputType&text=MoveResourceInputType\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.resourcemover.models.DiscardRequest.moveResources()"
fullName: "com.azure.resourcemanager.resourcemover.models.DiscardRequest.moveResources()"
name: "moveResources()"
nameWithType: "DiscardRequest.moveResources()"
summary: "Get the move<wbr>Resources property: Gets or sets the list of resource Id's, by default it accepts move resource id's unless the input type is switched via move<wbr>Resource<wbr>Input<wbr>Type property."
syntax: "public List<String> moveResources()"
desc: "Get the moveResources property: Gets or sets the list of resource Id's, by default it accepts move resource id's unless the input type is switched via moveResourceInputType property."
returns:
description: "the moveResources value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
- uid: "com.azure.resourcemanager.resourcemover.models.DiscardRequest.validate()"
fullName: "com.azure.resourcemanager.resourcemover.models.DiscardRequest.validate()"
name: "validate()"
nameWithType: "DiscardRequest.validate()"
summary: "Validates the instance."
syntax: "public void validate()"
desc: "Validates the instance."
- uid: "com.azure.resourcemanager.resourcemover.models.DiscardRequest.validateOnly()"
fullName: "com.azure.resourcemanager.resourcemover.models.DiscardRequest.validateOnly()"
name: "validateOnly()"
nameWithType: "DiscardRequest.validateOnly()"
summary: "Get the validate<wbr>Only property: Gets or sets a value indicating whether the operation needs to only run pre-requisite."
syntax: "public Boolean validateOnly()"
desc: "Get the validateOnly property: Gets or sets a value indicating whether the operation needs to only run pre-requisite."
returns:
description: "the validateOnly value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
- uid: "com.azure.resourcemanager.resourcemover.models.DiscardRequest.withMoveResourceInputType(com.azure.resourcemanager.resourcemover.models.MoveResourceInputType)"
fullName: "com.azure.resourcemanager.resourcemover.models.DiscardRequest.withMoveResourceInputType(MoveResourceInputType moveResourceInputType)"
name: "withMoveResourceInputType(MoveResourceInputType moveResourceInputType)"
nameWithType: "DiscardRequest.withMoveResourceInputType(MoveResourceInputType moveResourceInputType)"
summary: "Set the move<wbr>Resource<wbr>Input<wbr>Type property: Defines the move resource input type."
parameters:
- description: "the moveResourceInputType value to set."
name: "moveResourceInputType"
type: "<xref href=\"com.azure.resourcemanager.resourcemover.models.MoveResourceInputType?alt=com.azure.resourcemanager.resourcemover.models.MoveResourceInputType&text=MoveResourceInputType\" data-throw-if-not-resolved=\"False\" />"
syntax: "public DiscardRequest withMoveResourceInputType(MoveResourceInputType moveResourceInputType)"
desc: "Set the moveResourceInputType property: Defines the move resource input type."
returns:
description: "the DiscardRequest object itself."
type: "<xref href=\"com.azure.resourcemanager.resourcemover.models.DiscardRequest?alt=com.azure.resourcemanager.resourcemover.models.DiscardRequest&text=DiscardRequest\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.resourcemover.models.DiscardRequest.withMoveResources(java.util.List<java.lang.String>)"
fullName: "com.azure.resourcemanager.resourcemover.models.DiscardRequest.withMoveResources(List<String> moveResources)"
name: "withMoveResources(List<String> moveResources)"
nameWithType: "DiscardRequest.withMoveResources(List<String> moveResources)"
summary: "Set the move<wbr>Resources property: Gets or sets the list of resource Id's, by default it accepts move resource id's unless the input type is switched via move<wbr>Resource<wbr>Input<wbr>Type property."
parameters:
- description: "the moveResources value to set."
name: "moveResources"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
syntax: "public DiscardRequest withMoveResources(List<String> moveResources)"
desc: "Set the moveResources property: Gets or sets the list of resource Id's, by default it accepts move resource id's unless the input type is switched via moveResourceInputType property."
returns:
description: "the DiscardRequest object itself."
type: "<xref href=\"com.azure.resourcemanager.resourcemover.models.DiscardRequest?alt=com.azure.resourcemanager.resourcemover.models.DiscardRequest&text=DiscardRequest\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.resourcemanager.resourcemover.models.DiscardRequest.withValidateOnly(java.lang.Boolean)"
fullName: "com.azure.resourcemanager.resourcemover.models.DiscardRequest.withValidateOnly(Boolean validateOnly)"
name: "withValidateOnly(Boolean validateOnly)"
nameWithType: "DiscardRequest.withValidateOnly(Boolean validateOnly)"
summary: "Set the validate<wbr>Only property: Gets or sets a value indicating whether the operation needs to only run pre-requisite."
parameters:
- description: "the validateOnly value to set."
name: "validateOnly"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html\">Boolean</a>"
syntax: "public DiscardRequest withValidateOnly(Boolean validateOnly)"
desc: "Set the validateOnly property: Gets or sets a value indicating whether the operation needs to only run pre-requisite."
returns:
description: "the DiscardRequest object itself."
type: "<xref href=\"com.azure.resourcemanager.resourcemover.models.DiscardRequest?alt=com.azure.resourcemanager.resourcemover.models.DiscardRequest&text=DiscardRequest\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Defines the request body for discard operation."
metadata: {}
package: "com.azure.resourcemanager.resourcemover.models"
artifact: com.azure.resourcemanager:azure-resourcemanager-resourcemover:1.1.0