BmcKeySetPatchParameters Class

  • java.lang.Object
    • com.azure.resourcemanager.networkcloud.models.BmcKeySetPatchParameters

Implements

public final class BmcKeySetPatchParameters
implements JsonSerializable<BmcKeySetPatchParameters>

BmcKeySetPatchParameters represents the body of the request to patch the baseboard management controller key set.

Constructor Summary

Constructor Description
BmcKeySetPatchParameters()

Creates an instance of BmcKeySetPatchParameters class.

Method Summary

Modifier and Type Method and Description
OffsetDateTime expiration()

Get the expiration property: The date and time after which the users in this key set will be removed from the baseboard management controllers.

static BmcKeySetPatchParameters fromJson(JsonReader jsonReader)

Reads an instance of BmcKeySetPatchParameters from the JsonReader.

Map<String,String> tags()

Get the tags property: The Azure resource tags that will replace the existing ones.

JsonWriter toJson(JsonWriter jsonWriter)
List<KeySetUser> userList()

Get the userList property: The unique list of permitted users.

void validate()

Validates the instance.

BmcKeySetPatchParameters withExpiration(OffsetDateTime expiration)

Set the expiration property: The date and time after which the users in this key set will be removed from the baseboard management controllers.

BmcKeySetPatchParameters withTags(Map<String,String> tags)

Set the tags property: The Azure resource tags that will replace the existing ones.

BmcKeySetPatchParameters withUserList(List<KeySetUser> userList)

Set the userList property: The unique list of permitted users.

Methods inherited from java.lang.Object

Constructor Details

BmcKeySetPatchParameters

public BmcKeySetPatchParameters()

Creates an instance of BmcKeySetPatchParameters class.

Method Details

expiration

public OffsetDateTime expiration()

Get the expiration property: The date and time after which the users in this key set will be removed from the baseboard management controllers.

Returns:

the expiration value.

fromJson

public static BmcKeySetPatchParameters fromJson(JsonReader jsonReader)

Reads an instance of BmcKeySetPatchParameters from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

tags

public Map<String,String> tags()

Get the tags property: The Azure resource tags that will replace the existing ones.

Returns:

the tags value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

userList

public List<KeySetUser> userList()

Get the userList property: The unique list of permitted users.

Returns:

the userList value.

validate

public void validate()

Validates the instance.

withExpiration

public BmcKeySetPatchParameters withExpiration(OffsetDateTime expiration)

Set the expiration property: The date and time after which the users in this key set will be removed from the baseboard management controllers.

Parameters:

expiration - the expiration value to set.

Returns:

the BmcKeySetPatchParameters object itself.

withTags

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

Set the tags property: The Azure resource tags that will replace the existing ones.

Parameters:

tags - the tags value to set.

Returns:

the BmcKeySetPatchParameters object itself.

withUserList

public BmcKeySetPatchParameters withUserList(List<KeySetUser> userList)

Set the userList property: The unique list of permitted users.

Parameters:

userList - the userList value to set.

Returns:

the BmcKeySetPatchParameters object itself.

Applies to