ActiveConnectivityConfiguration Class

public final class ActiveConnectivityConfiguration
extends EffectiveConnectivityConfiguration

Active connectivity configuration.

Constructor Summary

Constructor Description
ActiveConnectivityConfiguration()

Creates an instance of ActiveConnectivityConfiguration class.

Method Summary

Modifier and Type Method and Description
List<ConnectivityGroupItem> appliesToGroups()

Get the appliesToGroups property: Groups for configuration.

OffsetDateTime commitTime()

Get the commitTime property: Deployment time string.

ConnectivityTopology connectivityTopology()

Get the connectivityTopology property: Connectivity topology type.

DeleteExistingPeering deleteExistingPeering()

Get the deleteExistingPeering property: Flag if need to remove current existing peerings.

String description()

Get the description property: A description of the connectivity configuration.

static ActiveConnectivityConfiguration fromJson(JsonReader jsonReader)

Reads an instance of ActiveConnectivityConfiguration from the JsonReader.

List<Hub> hubs()

Get the hubs property: List of hubItems.

IsGlobal isGlobal()

Get the isGlobal property: Flag if global mesh is supported.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the connectivity configuration resource.

String region()

Get the region property: Deployment region.

String resourceGuid()

Get the resourceGuid property: Unique identifier for this resource.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ActiveConnectivityConfiguration withAppliesToGroups(List<ConnectivityGroupItem> appliesToGroups)

Set the appliesToGroups property: Groups for configuration.

ActiveConnectivityConfiguration withCommitTime(OffsetDateTime commitTime)

Set the commitTime property: Deployment time string.

ActiveConnectivityConfiguration withConfigurationGroups(List<ConfigurationGroup> configurationGroups)

Set the configurationGroups property: Effective configuration groups.

ActiveConnectivityConfiguration withConnectivityTopology(ConnectivityTopology connectivityTopology)

Set the connectivityTopology property: Connectivity topology type.

ActiveConnectivityConfiguration withDeleteExistingPeering(DeleteExistingPeering deleteExistingPeering)

Set the deleteExistingPeering property: Flag if need to remove current existing peerings.

ActiveConnectivityConfiguration withDescription(String description)

Set the description property: A description of the connectivity configuration.

ActiveConnectivityConfiguration withHubs(List<Hub> hubs)

Set the hubs property: List of hubItems.

ActiveConnectivityConfiguration withId(String id)

Set the id property: Connectivity configuration ID.

ActiveConnectivityConfiguration withIsGlobal(IsGlobal isGlobal)

Set the isGlobal property: Flag if global mesh is supported.

ActiveConnectivityConfiguration withRegion(String region)

Set the region property: Deployment region.

Methods inherited from EffectiveConnectivityConfiguration

Methods inherited from java.lang.Object

Constructor Details

ActiveConnectivityConfiguration

public ActiveConnectivityConfiguration()

Creates an instance of ActiveConnectivityConfiguration class.

Method Details

appliesToGroups

public List appliesToGroups()

Get the appliesToGroups property: Groups for configuration.

Overrides:

ActiveConnectivityConfiguration.appliesToGroups()

Returns:

the appliesToGroups value.

commitTime

public OffsetDateTime commitTime()

Get the commitTime property: Deployment time string.

Returns:

the commitTime value.

connectivityTopology

public ConnectivityTopology connectivityTopology()

Get the connectivityTopology property: Connectivity topology type.

Overrides:

ActiveConnectivityConfiguration.connectivityTopology()

Returns:

the connectivityTopology value.

deleteExistingPeering

public DeleteExistingPeering deleteExistingPeering()

Get the deleteExistingPeering property: Flag if need to remove current existing peerings.

Overrides:

ActiveConnectivityConfiguration.deleteExistingPeering()

Returns:

the deleteExistingPeering value.

description

public String description()

Get the description property: A description of the connectivity configuration.

Overrides:

ActiveConnectivityConfiguration.description()

Returns:

the description value.

fromJson

public static ActiveConnectivityConfiguration fromJson(JsonReader jsonReader)

Reads an instance of ActiveConnectivityConfiguration from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ActiveConnectivityConfiguration if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the ActiveConnectivityConfiguration.

hubs

public List hubs()

Get the hubs property: List of hubItems.

Overrides:

ActiveConnectivityConfiguration.hubs()

Returns:

the hubs value.

isGlobal

public IsGlobal isGlobal()

Get the isGlobal property: Flag if global mesh is supported.

Overrides:

ActiveConnectivityConfiguration.isGlobal()

Returns:

the isGlobal value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the connectivity configuration resource.

Overrides:

ActiveConnectivityConfiguration.provisioningState()

Returns:

the provisioningState value.

region

public String region()

Get the region property: Deployment region.

Returns:

the region value.

resourceGuid

public String resourceGuid()

Get the resourceGuid property: Unique identifier for this resource.

Overrides:

ActiveConnectivityConfiguration.resourceGuid()

Returns:

the resourceGuid value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ActiveConnectivityConfiguration.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

ActiveConnectivityConfiguration.validate()

withAppliesToGroups

public ActiveConnectivityConfiguration withAppliesToGroups(List appliesToGroups)

Set the appliesToGroups property: Groups for configuration.

Overrides:

ActiveConnectivityConfiguration.withAppliesToGroups(List<ConnectivityGroupItem> appliesToGroups)

Parameters:

appliesToGroups - the appliesToGroups value to set.

Returns:

the ActiveConnectivityConfiguration object itself.

withCommitTime

public ActiveConnectivityConfiguration withCommitTime(OffsetDateTime commitTime)

Set the commitTime property: Deployment time string.

Parameters:

commitTime - the commitTime value to set.

Returns:

the ActiveConnectivityConfiguration object itself.

withConfigurationGroups

public ActiveConnectivityConfiguration withConfigurationGroups(List configurationGroups)

Set the configurationGroups property: Effective configuration groups.

Overrides:

ActiveConnectivityConfiguration.withConfigurationGroups(List<ConfigurationGroup> configurationGroups)

Parameters:

configurationGroups

withConnectivityTopology

public ActiveConnectivityConfiguration withConnectivityTopology(ConnectivityTopology connectivityTopology)

Set the connectivityTopology property: Connectivity topology type.

Overrides:

ActiveConnectivityConfiguration.withConnectivityTopology(ConnectivityTopology connectivityTopology)

Parameters:

connectivityTopology - the connectivityTopology value to set.

Returns:

the ActiveConnectivityConfiguration object itself.

withDeleteExistingPeering

public ActiveConnectivityConfiguration withDeleteExistingPeering(DeleteExistingPeering deleteExistingPeering)

Set the deleteExistingPeering property: Flag if need to remove current existing peerings.

Overrides:

ActiveConnectivityConfiguration.withDeleteExistingPeering(DeleteExistingPeering deleteExistingPeering)

Parameters:

deleteExistingPeering - the deleteExistingPeering value to set.

Returns:

the ActiveConnectivityConfiguration object itself.

withDescription

public ActiveConnectivityConfiguration withDescription(String description)

Set the description property: A description of the connectivity configuration.

Overrides:

ActiveConnectivityConfiguration.withDescription(String description)

Parameters:

description - the description value to set.

Returns:

the ActiveConnectivityConfiguration object itself.

withHubs

public ActiveConnectivityConfiguration withHubs(List hubs)

Set the hubs property: List of hubItems.

Overrides:

ActiveConnectivityConfiguration.withHubs(List<Hub> hubs)

Parameters:

hubs - the hubs value to set.

Returns:

the ActiveConnectivityConfiguration object itself.

withId

public ActiveConnectivityConfiguration withId(String id)

Set the id property: Connectivity configuration ID.

Overrides:

ActiveConnectivityConfiguration.withId(String id)

Parameters:

id

withIsGlobal

public ActiveConnectivityConfiguration withIsGlobal(IsGlobal isGlobal)

Set the isGlobal property: Flag if global mesh is supported.

Overrides:

ActiveConnectivityConfiguration.withIsGlobal(IsGlobal isGlobal)

Parameters:

isGlobal - the isGlobal value to set.

Returns:

the ActiveConnectivityConfiguration object itself.

withRegion

public ActiveConnectivityConfiguration withRegion(String region)

Set the region property: Deployment region.

Parameters:

region - the region value to set.

Returns:

the ActiveConnectivityConfiguration object itself.

Applies to