public final class ApiDeploymentParameterMetadata extends Object
Constructor and Description |
---|
ApiDeploymentParameterMetadata() |
Modifier and Type | Method and Description |
---|---|
String |
description()
Get the description property: The description.
|
String |
displayName()
Get the displayName property: The display name.
|
Boolean |
isRequired()
Get the isRequired property: Indicates whether its required.
|
String |
type()
Get the type property: The type.
|
void |
validate()
Validates the instance.
|
ApiDeploymentParameterVisibility |
visibility()
Get the visibility property: The visibility.
|
ApiDeploymentParameterMetadata |
withDescription(String description)
Set the description property: The description.
|
ApiDeploymentParameterMetadata |
withDisplayName(String displayName)
Set the displayName property: The display name.
|
ApiDeploymentParameterMetadata |
withIsRequired(Boolean isRequired)
Set the isRequired property: Indicates whether its required.
|
ApiDeploymentParameterMetadata |
withType(String type)
Set the type property: The type.
|
ApiDeploymentParameterMetadata |
withVisibility(ApiDeploymentParameterVisibility visibility)
Set the visibility property: The visibility.
|
public String type()
public ApiDeploymentParameterMetadata withType(String type)
type
- the type value to set.public Boolean isRequired()
public ApiDeploymentParameterMetadata withIsRequired(Boolean isRequired)
isRequired
- the isRequired value to set.public String displayName()
public ApiDeploymentParameterMetadata withDisplayName(String displayName)
displayName
- the displayName value to set.public String description()
public ApiDeploymentParameterMetadata withDescription(String description)
description
- the description value to set.public ApiDeploymentParameterVisibility visibility()
public ApiDeploymentParameterMetadata withVisibility(ApiDeploymentParameterVisibility visibility)
visibility
- the visibility value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.