ModuleInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. automation. fluent. models. ModuleInner
- com.
- com.
- com.
public final class ModuleInner
extends Resource
Definition of the module type.
Constructor Summary
Constructor | Description | |
---|---|---|
ModuleInner() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Integer |
activityCount()
Get the activity |
Content |
contentLink()
Get the content |
Offset |
creationTime()
Get the creation |
String |
description()
Get the description property: Gets or sets the description. |
Module |
error()
Get the error property: Gets or sets the error info of the module. |
String |
etag()
Get the etag property: Gets or sets the etag of the resource. |
Boolean |
isComposite()
Get the is |
Boolean |
isGlobal()
Get the is |
Offset |
lastModifiedTime()
Get the last |
Module |
provisioningState()
Get the provisioning |
Long |
sizeInBytes()
Get the size |
void |
validate()
Validates the instance. |
String |
version()
Get the version property: Gets or sets the version of the module. |
Module |
withActivityCount(Integer activityCount)
Set the activity |
Module |
withContentLink(ContentLink contentLink)
Set the content |
Module |
withCreationTime(OffsetDateTime creationTime)
Set the creation |
Module |
withDescription(String description)
Set the description property: Gets or sets the description. |
Module |
withError(ModuleErrorInfo error)
Set the error property: Gets or sets the error info of the module. |
Module |
withEtag(String etag)
Set the etag property: Gets or sets the etag of the resource. |
Module |
withIsComposite(Boolean isComposite)
Set the is |
Module |
withIsGlobal(Boolean isGlobal)
Set the is |
Module |
withLastModifiedTime(OffsetDateTime lastModifiedTime)
Set the last |
Module |
withLocation(String location) |
Module |
withProvisioningState(ModuleProvisioningState provisioningState)
Set the provisioning |
Module |
withSizeInBytes(Long sizeInBytes)
Set the size |
Module |
withTags(Map<String,String> tags) |
Module |
withVersion(String version)
Set the version property: Gets or sets the version of the module. |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
ModuleInner
public ModuleInner()
Method Details
activityCount
public Integer activityCount()
Get the activityCount property: Gets or sets the activity count of the module.
Returns:
contentLink
public ContentLink contentLink()
Get the contentLink property: Gets or sets the contentLink of the module.
Returns:
creationTime
public OffsetDateTime creationTime()
Get the creationTime property: Gets or sets the creation time.
Returns:
description
public String description()
Get the description property: Gets or sets the description.
Returns:
error
public ModuleErrorInfo error()
Get the error property: Gets or sets the error info of the module.
Returns:
etag
public String etag()
Get the etag property: Gets or sets the etag of the resource.
Returns:
isComposite
public Boolean isComposite()
Get the isComposite property: Gets or sets type of module, if its composite or not.
Returns:
isGlobal
public Boolean isGlobal()
Get the isGlobal property: Gets or sets the isGlobal flag of the module.
Returns:
lastModifiedTime
public OffsetDateTime lastModifiedTime()
Get the lastModifiedTime property: Gets or sets the last modified time.
Returns:
provisioningState
public ModuleProvisioningState provisioningState()
Get the provisioningState property: Gets or sets the provisioning state of the module.
Returns:
sizeInBytes
public Long sizeInBytes()
Get the sizeInBytes property: Gets or sets the size in bytes of the module.
Returns:
validate
public void validate()
Validates the instance.
version
public String version()
Get the version property: Gets or sets the version of the module.
Returns:
withActivityCount
public ModuleInner withActivityCount(Integer activityCount)
Set the activityCount property: Gets or sets the activity count of the module.
Parameters:
Returns:
withContentLink
public ModuleInner withContentLink(ContentLink contentLink)
Set the contentLink property: Gets or sets the contentLink of the module.
Parameters:
Returns:
withCreationTime
public ModuleInner withCreationTime(OffsetDateTime creationTime)
Set the creationTime property: Gets or sets the creation time.
Parameters:
Returns:
withDescription
public ModuleInner withDescription(String description)
Set the description property: Gets or sets the description.
Parameters:
Returns:
withError
public ModuleInner withError(ModuleErrorInfo error)
Set the error property: Gets or sets the error info of the module.
Parameters:
Returns:
withEtag
public ModuleInner withEtag(String etag)
Set the etag property: Gets or sets the etag of the resource.
Parameters:
Returns:
withIsComposite
public ModuleInner withIsComposite(Boolean isComposite)
Set the isComposite property: Gets or sets type of module, if its composite or not.
Parameters:
Returns:
withIsGlobal
public ModuleInner withIsGlobal(Boolean isGlobal)
Set the isGlobal property: Gets or sets the isGlobal flag of the module.
Parameters:
Returns:
withLastModifiedTime
public ModuleInner withLastModifiedTime(OffsetDateTime lastModifiedTime)
Set the lastModifiedTime property: Gets or sets the last modified time.
Parameters:
Returns:
withLocation
public ModuleInner withLocation(String location)
Overrides:
ModuleInner.withLocation(String location)Parameters:
withProvisioningState
public ModuleInner withProvisioningState(ModuleProvisioningState provisioningState)
Set the provisioningState property: Gets or sets the provisioning state of the module.
Parameters:
Returns:
withSizeInBytes
public ModuleInner withSizeInBytes(Long sizeInBytes)
Set the sizeInBytes property: Gets or sets the size in bytes of the module.
Parameters:
Returns:
withTags
public ModuleInner withTags(Map
Overrides:
ModuleInner.withTags(Map<String,String> tags)Parameters:
withVersion
public ModuleInner withVersion(String version)
Set the version property: Gets or sets the version of the module.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for