다음을 통해 공유


AliasPattern Class

  • java.lang.Object
    • com.microsoft.azure.management.resources.AliasPattern

public class AliasPattern

The type of the pattern for an alias path.

Constructor Summary

Constructor Description
AliasPattern()

Method Summary

Modifier and Type Method and Description
java.lang.String phrase()

Get the alias pattern phrase.

AliasPatternType type()

Get the type of alias pattern.

java.lang.String variable()

Get the alias pattern variable.

AliasPattern withPhrase(String phrase)

Set the alias pattern phrase.

AliasPattern withType(AliasPatternType type)

Set the type of alias pattern.

AliasPattern withVariable(String variable)

Set the alias pattern variable.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

AliasPattern

public AliasPattern()

Method Details

phrase

public String phrase()

Get the alias pattern phrase.

Returns:

the phrase value

type

public AliasPatternType type()

Get the type of alias pattern. Possible values include: 'NotSpecified', 'Extract'.

Returns:

the type value

variable

public String variable()

Get the alias pattern variable.

Returns:

the variable value

withPhrase

public AliasPattern withPhrase(String phrase)

Set the alias pattern phrase.

Parameters:

phrase - the phrase value to set

Returns:

the AliasPattern object itself.

withType

public AliasPattern withType(AliasPatternType type)

Set the type of alias pattern. Possible values include: 'NotSpecified', 'Extract'.

Parameters:

type - the type value to set

Returns:

the AliasPattern object itself.

withVariable

public AliasPattern withVariable(String variable)

Set the alias pattern variable.

Parameters:

variable - the variable value to set

Returns:

the AliasPattern object itself.

Applies to