SecurityConnectorInner Class

public final class SecurityConnectorInner
extends ProxyResource

The security connector resource.

Constructor Summary

Constructor Description
SecurityConnectorInner()

Creates an instance of SecurityConnectorInner class.

Method Summary

Modifier and Type Method and Description
EnvironmentData environmentData()

Get the environmentData property: The security connector environment data.

CloudName environmentName()

Get the environmentName property: The multi cloud resource's cloud name.

String etag()

Get the etag property: Entity tag is used for comparing two or more entities from the same requested resource.

static SecurityConnectorInner fromJson(JsonReader jsonReader)

Reads an instance of SecurityConnectorInner from the JsonReader.

String hierarchyIdentifier()

Get the hierarchyIdentifier property: The multi cloud resource identifier (account id in case of AWS connector, project number in case of GCP connector).

OffsetDateTime hierarchyIdentifierTrialEndDate()

Get the hierarchyIdentifierTrialEndDate property: The date on which the trial period will end, if applicable.

String id()

Get the id property: Fully qualified resource Id for the resource.

String kind()

Get the kind property: Kind of the resource.

String location()

Get the location property: The geo-location where the resource lives.

String name()

Get the name property: The name of the resource.

List<CloudOffering> offerings()

Get the offerings property: A collection of offerings for the security connector.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Map<String,String> tags()

Get the tags property: Resource tags.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

SecurityConnectorInner withEnvironmentData(EnvironmentData environmentData)

Set the environmentData property: The security connector environment data.

SecurityConnectorInner withEnvironmentName(CloudName environmentName)

Set the environmentName property: The multi cloud resource's cloud name.

SecurityConnectorInner withEtag(String etag)

Set the etag property: Entity tag is used for comparing two or more entities from the same requested resource.

SecurityConnectorInner withHierarchyIdentifier(String hierarchyIdentifier)

Set the hierarchyIdentifier property: The multi cloud resource identifier (account id in case of AWS connector, project number in case of GCP connector).

SecurityConnectorInner withKind(String kind)

Set the kind property: Kind of the resource.

SecurityConnectorInner withLocation(String location)

Set the location property: The geo-location where the resource lives.

SecurityConnectorInner withOfferings(List<CloudOffering> offerings)

Set the offerings property: A collection of offerings for the security connector.

SecurityConnectorInner withTags(Map<String,String> tags)

Set the tags property: Resource tags.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

SecurityConnectorInner

public SecurityConnectorInner()

Creates an instance of SecurityConnectorInner class.

Method Details

environmentData

public EnvironmentData environmentData()

Get the environmentData property: The security connector environment data.

Returns:

the environmentData value.

environmentName

public CloudName environmentName()

Get the environmentName property: The multi cloud resource's cloud name.

Returns:

the environmentName value.

etag

public String etag()

Get the etag property: Entity tag is used for comparing two or more entities from the same requested resource.

Returns:

the etag value.

fromJson

public static SecurityConnectorInner fromJson(JsonReader jsonReader)

Reads an instance of SecurityConnectorInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

hierarchyIdentifier

public String hierarchyIdentifier()

Get the hierarchyIdentifier property: The multi cloud resource identifier (account id in case of AWS connector, project number in case of GCP connector).

Returns:

the hierarchyIdentifier value.

hierarchyIdentifierTrialEndDate

public OffsetDateTime hierarchyIdentifierTrialEndDate()

Get the hierarchyIdentifierTrialEndDate property: The date on which the trial period will end, if applicable. Trial period exists for 30 days after upgrading to payed offerings.

Returns:

the hierarchyIdentifierTrialEndDate value.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

SecurityConnectorInner.id()

Returns:

the id value.

kind

public String kind()

Get the kind property: Kind of the resource.

Returns:

the kind value.

location

public String location()

Get the location property: The geo-location where the resource lives.

Returns:

the location value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

SecurityConnectorInner.name()

Returns:

the name value.

offerings

public List<CloudOffering> offerings()

Get the offerings property: A collection of offerings for the security connector.

Returns:

the offerings value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

tags

public Map<String,String> tags()

Get the tags property: Resource tags.

Returns:

the tags value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

SecurityConnectorInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

SecurityConnectorInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withEnvironmentData

public SecurityConnectorInner withEnvironmentData(EnvironmentData environmentData)

Set the environmentData property: The security connector environment data.

Parameters:

environmentData - the environmentData value to set.

Returns:

the SecurityConnectorInner object itself.

withEnvironmentName

public SecurityConnectorInner withEnvironmentName(CloudName environmentName)

Set the environmentName property: The multi cloud resource's cloud name.

Parameters:

environmentName - the environmentName value to set.

Returns:

the SecurityConnectorInner object itself.

withEtag

public SecurityConnectorInner withEtag(String etag)

Set the etag property: Entity tag is used for comparing two or more entities from the same requested resource.

Parameters:

etag - the etag value to set.

Returns:

the SecurityConnectorInner object itself.

withHierarchyIdentifier

public SecurityConnectorInner withHierarchyIdentifier(String hierarchyIdentifier)

Set the hierarchyIdentifier property: The multi cloud resource identifier (account id in case of AWS connector, project number in case of GCP connector).

Parameters:

hierarchyIdentifier - the hierarchyIdentifier value to set.

Returns:

the SecurityConnectorInner object itself.

withKind

public SecurityConnectorInner withKind(String kind)

Set the kind property: Kind of the resource.

Parameters:

kind - the kind value to set.

Returns:

the SecurityConnectorInner object itself.

withLocation

public SecurityConnectorInner withLocation(String location)

Set the location property: The geo-location where the resource lives.

Parameters:

location - the location value to set.

Returns:

the SecurityConnectorInner object itself.

withOfferings

public SecurityConnectorInner withOfferings(List<CloudOffering> offerings)

Set the offerings property: A collection of offerings for the security connector.

Parameters:

offerings - the offerings value to set.

Returns:

the SecurityConnectorInner object itself.

withTags

public SecurityConnectorInner withTags(Map<String,String> tags)

Set the tags property: Resource tags.

Parameters:

tags - the tags value to set.

Returns:

the SecurityConnectorInner object itself.

Applies to