public static class LogAnalyticsAssociation.Builder extends Object
Constructor and Description |
---|
Builder() |
public LogAnalyticsAssociation.Builder failureMessage(String failureMessage)
The failure message.
failureMessage
- the value to setpublic LogAnalyticsAssociation.Builder agentId(String agentId)
The agent unique identifier.
agentId
- the value to setpublic LogAnalyticsAssociation.Builder timeLastAttempted(Date timeLastAttempted)
The last attempt date.
timeLastAttempted
- the value to setpublic LogAnalyticsAssociation.Builder retryCount(Long retryCount)
The number of times the association will be attempted before failing.
retryCount
- the value to setpublic LogAnalyticsAssociation.Builder sourceName(String sourceName)
The source name.
sourceName
- the value to setpublic LogAnalyticsAssociation.Builder sourceDisplayName(String sourceDisplayName)
The source display name.
sourceDisplayName
- the value to setpublic LogAnalyticsAssociation.Builder sourceTypeName(String sourceTypeName)
The source type internal name.
sourceTypeName
- the value to setpublic LogAnalyticsAssociation.Builder lifeCycleState(LogAnalyticsAssociation.LifeCycleState lifeCycleState)
The lifecycle status. Valid values are ACCEPTED, IN_PROGRESS, SUCCEEDED or FAILED.
lifeCycleState
- the value to setpublic LogAnalyticsAssociation.Builder entityId(String entityId)
The entity unique identifier.
entityId
- the value to setpublic LogAnalyticsAssociation.Builder entityName(String entityName)
The entity name.
entityName
- the value to setpublic LogAnalyticsAssociation.Builder entityTypeName(String entityTypeName)
The entity type internal name.
entityTypeName
- the value to setpublic LogAnalyticsAssociation.Builder host(String host)
The host name.
host
- the value to setpublic LogAnalyticsAssociation.Builder agentEntityName(String agentEntityName)
The name of the entity which contains the agent.
agentEntityName
- the value to setpublic LogAnalyticsAssociation.Builder entityTypeDisplayName(String entityTypeDisplayName)
The entity type display name.
entityTypeDisplayName
- the value to setpublic LogAnalyticsAssociation.Builder logGroupId(String logGroupId)
The log group unique identifier.
logGroupId
- the value to setpublic LogAnalyticsAssociation.Builder logGroupName(String logGroupName)
The log group name.
logGroupName
- the value to setpublic LogAnalyticsAssociation.Builder logGroupCompartment(String logGroupCompartment)
The log group compartment.
logGroupCompartment
- the value to setpublic LogAnalyticsAssociation.Builder associationProperties(List<AssociationProperty> associationProperties)
A list of association properties.
associationProperties
- the value to setpublic LogAnalyticsAssociation build()
public LogAnalyticsAssociation.Builder copy(LogAnalyticsAssociation model)
Copyright © 2016–2024. All rights reserved.