Package com.oracle.bmc.jms.model
Class CryptoAnalysisResult.Builder
- java.lang.Object
-
- com.oracle.bmc.jms.model.CryptoAnalysisResult.Builder
-
- Enclosing class:
- CryptoAnalysisResult
public static class CryptoAnalysisResult.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CryptoAnalysisResult.Builder
aggregationMode(CryptoAnalysisResultMode aggregationMode)
The result aggregation modeCryptoAnalysisResult.Builder
bucketName(String bucketName)
The Object Storage bucket name of this analysis result.CryptoAnalysisResult
build()
CryptoAnalysisResult.Builder
copy(CryptoAnalysisResult model)
CryptoAnalysisResult.Builder
cryptoRoadmapVersion(String cryptoRoadmapVersion)
The Crypto Roadmap version used to perform the analysis.CryptoAnalysisResult.Builder
findingCount(Integer findingCount)
Total number of findings with the analysis.CryptoAnalysisResult.Builder
fleetId(String fleetId)
The fleet OCID.CryptoAnalysisResult.Builder
hostName(String hostName)
The hostname of the managed instance.CryptoAnalysisResult.Builder
id(String id)
The OCID to identify this analysis results.CryptoAnalysisResult.Builder
managedInstanceId(String managedInstanceId)
The managed instance OCID.CryptoAnalysisResult.Builder
namespace(String namespace)
The Object Storage namespace of this analysis result.CryptoAnalysisResult.Builder
nonCompliantFindingCount(Integer nonCompliantFindingCount)
Total number of non-compliant findings with the analysis.CryptoAnalysisResult.Builder
objectName(String objectName)
The Object Storage object name of this analysis result.CryptoAnalysisResult.Builder
summarizedEventCount(Integer summarizedEventCount)
Total number of summarized events.CryptoAnalysisResult.Builder
timeCreated(Date timeCreated)
The time the result is compiled.CryptoAnalysisResult.Builder
timeFinished(Date timeFinished)
The time the JFR recording has finished.CryptoAnalysisResult.Builder
timeFirstEvent(Date timeFirstEvent)
Time of the first event in the analysis.CryptoAnalysisResult.Builder
timeLastEvent(Date timeLastEvent)
Time of the last event in the analysis.CryptoAnalysisResult.Builder
timeStarted(Date timeStarted)
The time the JFR recording has started.CryptoAnalysisResult.Builder
totalEventCount(Integer totalEventCount)
Total number of events in the analysis.CryptoAnalysisResult.Builder
workRequestId(String workRequestId)
The OCID of the work request to start the analysis.
-
-
-
Method Detail
-
id
public CryptoAnalysisResult.Builder id(String id)
The OCID to identify this analysis results.- Parameters:
id
- the value to set- Returns:
- this builder
-
workRequestId
public CryptoAnalysisResult.Builder workRequestId(String workRequestId)
The OCID of the work request to start the analysis.- Parameters:
workRequestId
- the value to set- Returns:
- this builder
-
aggregationMode
public CryptoAnalysisResult.Builder aggregationMode(CryptoAnalysisResultMode aggregationMode)
The result aggregation mode- Parameters:
aggregationMode
- the value to set- Returns:
- this builder
-
fleetId
public CryptoAnalysisResult.Builder fleetId(String fleetId)
The fleet OCID.- Parameters:
fleetId
- the value to set- Returns:
- this builder
-
managedInstanceId
public CryptoAnalysisResult.Builder managedInstanceId(String managedInstanceId)
The managed instance OCID.- Parameters:
managedInstanceId
- the value to set- Returns:
- this builder
-
hostName
public CryptoAnalysisResult.Builder hostName(String hostName)
The hostname of the managed instance.- Parameters:
hostName
- the value to set- Returns:
- this builder
-
timeFirstEvent
public CryptoAnalysisResult.Builder timeFirstEvent(Date timeFirstEvent)
Time of the first event in the analysis.- Parameters:
timeFirstEvent
- the value to set- Returns:
- this builder
-
timeLastEvent
public CryptoAnalysisResult.Builder timeLastEvent(Date timeLastEvent)
Time of the last event in the analysis.- Parameters:
timeLastEvent
- the value to set- Returns:
- this builder
-
totalEventCount
public CryptoAnalysisResult.Builder totalEventCount(Integer totalEventCount)
Total number of events in the analysis.- Parameters:
totalEventCount
- the value to set- Returns:
- this builder
-
summarizedEventCount
public CryptoAnalysisResult.Builder summarizedEventCount(Integer summarizedEventCount)
Total number of summarized events.Summarized events are deduplicated events of interest.
- Parameters:
summarizedEventCount
- the value to set- Returns:
- this builder
-
findingCount
public CryptoAnalysisResult.Builder findingCount(Integer findingCount)
Total number of findings with the analysis.- Parameters:
findingCount
- the value to set- Returns:
- this builder
-
nonCompliantFindingCount
public CryptoAnalysisResult.Builder nonCompliantFindingCount(Integer nonCompliantFindingCount)
Total number of non-compliant findings with the analysis.A non-compliant finding means the application won’t work properly with the changes introduced by the Crypto Roadmap version used by the analysis.
- Parameters:
nonCompliantFindingCount
- the value to set- Returns:
- this builder
-
timeCreated
public CryptoAnalysisResult.Builder timeCreated(Date timeCreated)
The time the result is compiled.- Parameters:
timeCreated
- the value to set- Returns:
- this builder
-
timeStarted
public CryptoAnalysisResult.Builder timeStarted(Date timeStarted)
The time the JFR recording has started.- Parameters:
timeStarted
- the value to set- Returns:
- this builder
-
timeFinished
public CryptoAnalysisResult.Builder timeFinished(Date timeFinished)
The time the JFR recording has finished.- Parameters:
timeFinished
- the value to set- Returns:
- this builder
-
cryptoRoadmapVersion
public CryptoAnalysisResult.Builder cryptoRoadmapVersion(String cryptoRoadmapVersion)
The Crypto Roadmap version used to perform the analysis.- Parameters:
cryptoRoadmapVersion
- the value to set- Returns:
- this builder
-
namespace
public CryptoAnalysisResult.Builder namespace(String namespace)
The Object Storage namespace of this analysis result.- Parameters:
namespace
- the value to set- Returns:
- this builder
-
bucketName
public CryptoAnalysisResult.Builder bucketName(String bucketName)
The Object Storage bucket name of this analysis result.- Parameters:
bucketName
- the value to set- Returns:
- this builder
-
objectName
public CryptoAnalysisResult.Builder objectName(String objectName)
The Object Storage object name of this analysis result.- Parameters:
objectName
- the value to set- Returns:
- this builder
-
build
public CryptoAnalysisResult build()
-
copy
public CryptoAnalysisResult.Builder copy(CryptoAnalysisResult model)
-
-