AssignmentInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. security. fluent. models. AssignmentInner
- com.
- com.
public final class AssignmentInner
extends ProxyResource
Security Assignment on a resource group over a given scope.
Constructor Summary
| Constructor | Description |
|---|---|
| AssignmentInner() |
Creates an instance of Assignment |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Assignment |
additionalData()
Get the additional |
|
Assigned |
assignedComponent()
Get the assigned |
|
Assigned |
assignedStandard()
Get the assigned |
| String |
description()
Get the description property: description of the standard |
| String |
displayName()
Get the display |
| String |
effect()
Get the effect property: expected effect of this assignment (Disable/Exempt/etc). |
| String |
etag()
Get the etag property: Entity tag is used for comparing two or more entities from the same requested resource. |
|
Offset |
expiresOn()
Get the expires |
|
static
Assignment |
fromJson(JsonReader jsonReader)
Reads an instance of Assignment |
| 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. |
| Object |
metadata()
Get the metadata property: The assignment metadata. |
| String |
name()
Get the name property: The name of the resource. |
| String |
scope()
Get the scope property: Scope to which the standard |
|
System |
systemData()
Get the system |
| Map<String,String> |
tags()
Get the tags property: Resource tags. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Assignment |
withAdditionalData(AssignmentPropertiesAdditionalData additionalData)
Set the additional |
|
Assignment |
withAssignedComponent(AssignedComponentItem assignedComponent)
Set the assigned |
|
Assignment |
withAssignedStandard(AssignedStandardItem assignedStandard)
Set the assigned |
|
Assignment |
withDescription(String description)
Set the description property: description of the standard |
|
Assignment |
withDisplayName(String displayName)
Set the display |
|
Assignment |
withEffect(String effect)
Set the effect property: expected effect of this assignment (Disable/Exempt/etc). |
|
Assignment |
withEtag(String etag)
Set the etag property: Entity tag is used for comparing two or more entities from the same requested resource. |
|
Assignment |
withExpiresOn(OffsetDateTime expiresOn)
Set the expires |
|
Assignment |
withKind(String kind)
Set the kind property: Kind of the resource. |
|
Assignment |
withLocation(String location)
Set the location property: The geo-location where the resource lives. |
|
Assignment |
withMetadata(Object metadata)
Set the metadata property: The assignment metadata. |
|
Assignment |
withScope(String scope)
Set the scope property: Scope to which the standard |
|
Assignment |
withTags(Map<String,String> tags)
Set the tags property: Resource tags. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
AssignmentInner
public AssignmentInner()
Creates an instance of AssignmentInner class.
Method Details
additionalData
public AssignmentPropertiesAdditionalData additionalData()
Get the additionalData property: Additional data about the assignment.
Returns:
assignedComponent
public AssignedComponentItem assignedComponent()
Get the assignedComponent property: Component item with key as applied to this standard assignment over the given scope.
Returns:
assignedStandard
public AssignedStandardItem assignedStandard()
Get the assignedStandard property: Standard item with key as applied to this standard assignment over the given scope.
Returns:
description
public String description()
Get the description property: description of the standardAssignment.
Returns:
displayName
public String displayName()
Get the displayName property: display name of the standardAssignment.
Returns:
effect
public String effect()
Get the effect property: expected effect of this assignment (Disable/Exempt/etc).
Returns:
etag
public String etag()
Get the etag property: Entity tag is used for comparing two or more entities from the same requested resource.
Returns:
expiresOn
public OffsetDateTime expiresOn()
Get the expiresOn property: Expiration date of this assignment as a full ISO date.
Returns:
fromJson
public static AssignmentInner fromJson(JsonReader jsonReader)
Reads an instance of AssignmentInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
AssignmentInner.id()Returns:
kind
public String kind()
Get the kind property: Kind of the resource.
Returns:
location
public String location()
Get the location property: The geo-location where the resource lives.
Returns:
metadata
public Object metadata()
Get the metadata property: The assignment metadata. Metadata is an open ended object and is typically a collection of key value pairs.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
AssignmentInner.name()Returns:
scope
public String scope()
Get the scope property: Scope to which the standardAssignment applies - can be a subscription path or a resource group under that subscription.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
tags
public Map<String,String> tags()
Get the tags property: Resource tags.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
AssignmentInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
AssignmentInner.type()Returns:
validate
public void validate()
Validates the instance.
withAdditionalData
public AssignmentInner withAdditionalData(AssignmentPropertiesAdditionalData additionalData)
Set the additionalData property: Additional data about the assignment.
Parameters:
Returns:
withAssignedComponent
public AssignmentInner withAssignedComponent(AssignedComponentItem assignedComponent)
Set the assignedComponent property: Component item with key as applied to this standard assignment over the given scope.
Parameters:
Returns:
withAssignedStandard
public AssignmentInner withAssignedStandard(AssignedStandardItem assignedStandard)
Set the assignedStandard property: Standard item with key as applied to this standard assignment over the given scope.
Parameters:
Returns:
withDescription
public AssignmentInner withDescription(String description)
Set the description property: description of the standardAssignment.
Parameters:
Returns:
withDisplayName
public AssignmentInner withDisplayName(String displayName)
Set the displayName property: display name of the standardAssignment.
Parameters:
Returns:
withEffect
public AssignmentInner withEffect(String effect)
Set the effect property: expected effect of this assignment (Disable/Exempt/etc).
Parameters:
Returns:
withEtag
public AssignmentInner withEtag(String etag)
Set the etag property: Entity tag is used for comparing two or more entities from the same requested resource.
Parameters:
Returns:
withExpiresOn
public AssignmentInner withExpiresOn(OffsetDateTime expiresOn)
Set the expiresOn property: Expiration date of this assignment as a full ISO date.
Parameters:
Returns:
withKind
public AssignmentInner withKind(String kind)
Set the kind property: Kind of the resource.
Parameters:
Returns:
withLocation
public AssignmentInner withLocation(String location)
Set the location property: The geo-location where the resource lives.
Parameters:
Returns:
withMetadata
public AssignmentInner withMetadata(Object metadata)
Set the metadata property: The assignment metadata. Metadata is an open ended object and is typically a collection of key value pairs.
Parameters:
Returns:
withScope
public AssignmentInner withScope(String scope)
Set the scope property: Scope to which the standardAssignment applies - can be a subscription path or a resource group under that subscription.
Parameters:
Returns:
withTags
public AssignmentInner withTags(Map<String,String> tags)
Set the tags property: Resource tags.
Parameters:
Returns: