Class SparkConfigurationResourceInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.synapse.models.AzureEntityResource
-
- com.azure.resourcemanager.synapse.models.EntityResource
-
- com.azure.resourcemanager.synapse.fluent.models.SparkConfigurationResourceInner
-
public final class SparkConfigurationResourceInner extends EntityResource
SparkConfiguration response details.
-
-
Constructor Summary
Constructors Constructor Description SparkConfigurationResourceInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
annotations()
Get the annotations property: Annotations for SparkConfiguration.Map<String,String>
configs()
Get the configs property: SparkConfiguration configs.OffsetDateTime
created()
Get the created property: The timestamp of resource creation.String
createdBy()
Get the createdBy property: The identity that created the resource.String
description()
Get the description property: Description about the SparkConfiguration.String
notes()
Get the notes property: additional Notes.void
validate()
Validates the instance.SparkConfigurationResourceInner
withAnnotations(List<String> annotations)
Set the annotations property: Annotations for SparkConfiguration.SparkConfigurationResourceInner
withConfigs(Map<String,String> configs)
Set the configs property: SparkConfiguration configs.SparkConfigurationResourceInner
withCreated(OffsetDateTime created)
Set the created property: The timestamp of resource creation.SparkConfigurationResourceInner
withCreatedBy(String createdBy)
Set the createdBy property: The identity that created the resource.SparkConfigurationResourceInner
withDescription(String description)
Set the description property: Description about the SparkConfiguration.SparkConfigurationResourceInner
withNotes(String notes)
Set the notes property: additional Notes.-
Methods inherited from class com.azure.resourcemanager.synapse.models.AzureEntityResource
etag
-
-
-
-
Method Detail
-
description
public String description()
Get the description property: Description about the SparkConfiguration.- Returns:
- the description value.
-
withDescription
public SparkConfigurationResourceInner withDescription(String description)
Set the description property: Description about the SparkConfiguration.- Parameters:
description
- the description value to set.- Returns:
- the SparkConfigurationResourceInner object itself.
-
configs
public Map<String,String> configs()
Get the configs property: SparkConfiguration configs.- Returns:
- the configs value.
-
withConfigs
public SparkConfigurationResourceInner withConfigs(Map<String,String> configs)
Set the configs property: SparkConfiguration configs.- Parameters:
configs
- the configs value to set.- Returns:
- the SparkConfigurationResourceInner object itself.
-
annotations
public List<String> annotations()
Get the annotations property: Annotations for SparkConfiguration.- Returns:
- the annotations value.
-
withAnnotations
public SparkConfigurationResourceInner withAnnotations(List<String> annotations)
Set the annotations property: Annotations for SparkConfiguration.- Parameters:
annotations
- the annotations value to set.- Returns:
- the SparkConfigurationResourceInner object itself.
-
notes
public String notes()
Get the notes property: additional Notes.- Returns:
- the notes value.
-
withNotes
public SparkConfigurationResourceInner withNotes(String notes)
Set the notes property: additional Notes.- Parameters:
notes
- the notes value to set.- Returns:
- the SparkConfigurationResourceInner object itself.
-
createdBy
public String createdBy()
Get the createdBy property: The identity that created the resource.- Returns:
- the createdBy value.
-
withCreatedBy
public SparkConfigurationResourceInner withCreatedBy(String createdBy)
Set the createdBy property: The identity that created the resource.- Parameters:
createdBy
- the createdBy value to set.- Returns:
- the SparkConfigurationResourceInner object itself.
-
created
public OffsetDateTime created()
Get the created property: The timestamp of resource creation.- Returns:
- the created value.
-
withCreated
public SparkConfigurationResourceInner withCreated(OffsetDateTime created)
Set the created property: The timestamp of resource creation.- Parameters:
created
- the created value to set.- Returns:
- the SparkConfigurationResourceInner object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classEntityResource
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-