Condividi tramite


ControllerUpdateParameters Class

  • java.lang.Object
    • com.azure.resourcemanager.devspaces.models.ControllerUpdateParameters

Implements

public final class ControllerUpdateParameters
implements JsonSerializable<ControllerUpdateParameters>

Parameters for updating an Azure Dev Spaces Controller.

Constructor Summary

Constructor Description
ControllerUpdateParameters()

Creates an instance of ControllerUpdateParameters class.

Method Summary

Modifier and Type Method and Description
static ControllerUpdateParameters fromJson(JsonReader jsonReader)

Reads an instance of ControllerUpdateParameters from the JsonReader.

Map<String,String> tags()

Get the tags property: Tags for the Azure Dev Spaces Controller.

String targetContainerHostCredentialsBase64()

Get the targetContainerHostCredentialsBase64 property: Credentials of the target container host (base64).

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ControllerUpdateParameters withTags(Map<String,String> tags)

Set the tags property: Tags for the Azure Dev Spaces Controller.

ControllerUpdateParameters withTargetContainerHostCredentialsBase64(String targetContainerHostCredentialsBase64)

Set the targetContainerHostCredentialsBase64 property: Credentials of the target container host (base64).

Methods inherited from java.lang.Object

Constructor Details

ControllerUpdateParameters

public ControllerUpdateParameters()

Creates an instance of ControllerUpdateParameters class.

Method Details

fromJson

public static ControllerUpdateParameters fromJson(JsonReader jsonReader)

Reads an instance of ControllerUpdateParameters from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ControllerUpdateParameters 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 ControllerUpdateParameters.

tags

public Map<String,String> tags()

Get the tags property: Tags for the Azure Dev Spaces Controller.

Returns:

the tags value.

targetContainerHostCredentialsBase64

public String targetContainerHostCredentialsBase64()

Get the targetContainerHostCredentialsBase64 property: Credentials of the target container host (base64).

Returns:

the targetContainerHostCredentialsBase64 value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withTags

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

Set the tags property: Tags for the Azure Dev Spaces Controller.

Parameters:

tags - the tags value to set.

Returns:

the ControllerUpdateParameters object itself.

withTargetContainerHostCredentialsBase64

public ControllerUpdateParameters withTargetContainerHostCredentialsBase64(String targetContainerHostCredentialsBase64)

Set the targetContainerHostCredentialsBase64 property: Credentials of the target container host (base64).

Parameters:

targetContainerHostCredentialsBase64 - the targetContainerHostCredentialsBase64 value to set.

Returns:

the ControllerUpdateParameters object itself.

Applies to