Share via


BaseImageTriggerUpdateParameters Class

  • java.lang.Object
    • com.azure.resourcemanager.containerregistry.models.BaseImageTriggerUpdateParameters

Implements

public final class BaseImageTriggerUpdateParameters
implements JsonSerializable<BaseImageTriggerUpdateParameters>

The properties for updating base image dependency trigger.

Constructor Summary

Constructor Description
BaseImageTriggerUpdateParameters()

Creates an instance of BaseImageTriggerUpdateParameters class.

Method Summary

Modifier and Type Method and Description
BaseImageTriggerType baseImageTriggerType()

Get the baseImageTriggerType property: The type of the auto trigger for base image dependency updates.

static BaseImageTriggerUpdateParameters fromJson(JsonReader jsonReader)

Reads an instance of BaseImageTriggerUpdateParameters from the JsonReader.

String name()

Get the name property: The name of the trigger.

TriggerStatus status()

Get the status property: The current status of trigger.

JsonWriter toJson(JsonWriter jsonWriter)
String updateTriggerEndpoint()

Get the updateTriggerEndpoint property: The endpoint URL for receiving update triggers.

UpdateTriggerPayloadType updateTriggerPayloadType()

Get the updateTriggerPayloadType property: Type of Payload body for Base image update triggers.

void validate()

Validates the instance.

BaseImageTriggerUpdateParameters withBaseImageTriggerType(BaseImageTriggerType baseImageTriggerType)

Set the baseImageTriggerType property: The type of the auto trigger for base image dependency updates.

BaseImageTriggerUpdateParameters withName(String name)

Set the name property: The name of the trigger.

BaseImageTriggerUpdateParameters withStatus(TriggerStatus status)

Set the status property: The current status of trigger.

BaseImageTriggerUpdateParameters withUpdateTriggerEndpoint(String updateTriggerEndpoint)

Set the updateTriggerEndpoint property: The endpoint URL for receiving update triggers.

BaseImageTriggerUpdateParameters withUpdateTriggerPayloadType(UpdateTriggerPayloadType updateTriggerPayloadType)

Set the updateTriggerPayloadType property: Type of Payload body for Base image update triggers.

Methods inherited from java.lang.Object

Constructor Details

BaseImageTriggerUpdateParameters

public BaseImageTriggerUpdateParameters()

Creates an instance of BaseImageTriggerUpdateParameters class.

Method Details

baseImageTriggerType

public BaseImageTriggerType baseImageTriggerType()

Get the baseImageTriggerType property: The type of the auto trigger for base image dependency updates.

Returns:

the baseImageTriggerType value.

fromJson

public static BaseImageTriggerUpdateParameters fromJson(JsonReader jsonReader)

Reads an instance of BaseImageTriggerUpdateParameters from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: The name of the trigger.

Returns:

the name value.

status

public TriggerStatus status()

Get the status property: The current status of trigger.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

updateTriggerEndpoint

public String updateTriggerEndpoint()

Get the updateTriggerEndpoint property: The endpoint URL for receiving update triggers.

Returns:

the updateTriggerEndpoint value.

updateTriggerPayloadType

public UpdateTriggerPayloadType updateTriggerPayloadType()

Get the updateTriggerPayloadType property: Type of Payload body for Base image update triggers.

Returns:

the updateTriggerPayloadType value.

validate

public void validate()

Validates the instance.

withBaseImageTriggerType

public BaseImageTriggerUpdateParameters withBaseImageTriggerType(BaseImageTriggerType baseImageTriggerType)

Set the baseImageTriggerType property: The type of the auto trigger for base image dependency updates.

Parameters:

baseImageTriggerType - the baseImageTriggerType value to set.

Returns:

the BaseImageTriggerUpdateParameters object itself.

withName

public BaseImageTriggerUpdateParameters withName(String name)

Set the name property: The name of the trigger.

Parameters:

name - the name value to set.

Returns:

the BaseImageTriggerUpdateParameters object itself.

withStatus

public BaseImageTriggerUpdateParameters withStatus(TriggerStatus status)

Set the status property: The current status of trigger.

Parameters:

status - the status value to set.

Returns:

the BaseImageTriggerUpdateParameters object itself.

withUpdateTriggerEndpoint

public BaseImageTriggerUpdateParameters withUpdateTriggerEndpoint(String updateTriggerEndpoint)

Set the updateTriggerEndpoint property: The endpoint URL for receiving update triggers.

Parameters:

updateTriggerEndpoint - the updateTriggerEndpoint value to set.

Returns:

the BaseImageTriggerUpdateParameters object itself.

withUpdateTriggerPayloadType

public BaseImageTriggerUpdateParameters withUpdateTriggerPayloadType(UpdateTriggerPayloadType updateTriggerPayloadType)

Set the updateTriggerPayloadType property: Type of Payload body for Base image update triggers.

Parameters:

updateTriggerPayloadType - the updateTriggerPayloadType value to set.

Returns:

the BaseImageTriggerUpdateParameters object itself.

Applies to