Class ApiDeploymentParameterMetadata
java.lang.Object
com.azure.resourcemanager.logic.models.ApiDeploymentParameterMetadata
The API deployment parameter metadata.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ApiDeploymentParameterMetadata class. -
Method Summary
Modifier and TypeMethodDescriptionGet the description property: The description.Get the displayName property: The display name.Get the isRequired property: Indicates whether its required.type()
Get the type property: The type.void
validate()
Validates the instance.Get the visibility property: The visibility.withDescription
(String description) Set the description property: The description.withDisplayName
(String displayName) Set the displayName property: The display name.withIsRequired
(Boolean isRequired) Set the isRequired property: Indicates whether its required.Set the type property: The type.withVisibility
(ApiDeploymentParameterVisibility visibility) Set the visibility property: The visibility.
-
Constructor Details
-
ApiDeploymentParameterMetadata
public ApiDeploymentParameterMetadata()Creates an instance of ApiDeploymentParameterMetadata class.
-
-
Method Details
-
type
Get the type property: The type.- Returns:
- the type value.
-
withType
Set the type property: The type.- Parameters:
type
- the type value to set.- Returns:
- the ApiDeploymentParameterMetadata object itself.
-
isRequired
Get the isRequired property: Indicates whether its required.- Returns:
- the isRequired value.
-
withIsRequired
Set the isRequired property: Indicates whether its required.- Parameters:
isRequired
- the isRequired value to set.- Returns:
- the ApiDeploymentParameterMetadata object itself.
-
displayName
Get the displayName property: The display name.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: The display name.- Parameters:
displayName
- the displayName value to set.- Returns:
- the ApiDeploymentParameterMetadata object itself.
-
description
Get the description property: The description.- Returns:
- the description value.
-
withDescription
Set the description property: The description.- Parameters:
description
- the description value to set.- Returns:
- the ApiDeploymentParameterMetadata object itself.
-
visibility
Get the visibility property: The visibility.- Returns:
- the visibility value.
-
withVisibility
Set the visibility property: The visibility.- Parameters:
visibility
- the visibility value to set.- Returns:
- the ApiDeploymentParameterMetadata object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-