Class TemplateAssociationAnalyticsDimensions


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20181201")
    public final class TemplateAssociationAnalyticsDimensions
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    The scope of template association analytics data.
    Note: Objects should always be created or deserialized using the TemplateAssociationAnalyticsDimensions.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of the TemplateAssociationAnalyticsDimensions.Builder, which maintain a set of all explicitly set fields called TemplateAssociationAnalyticsDimensions.Builder.__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
    • Constructor Detail

      • TemplateAssociationAnalyticsDimensions

        @Deprecated
        @ConstructorProperties({"templateAssessmentId","templateBaselineAssessmentId","targetDatabaseGroupId","targetId"})
        public TemplateAssociationAnalyticsDimensions​(String templateAssessmentId,
                                                      String templateBaselineAssessmentId,
                                                      String targetDatabaseGroupId,
                                                      String targetId)
        Deprecated.
    • Method Detail

      • getTemplateAssessmentId

        public String getTemplateAssessmentId()
        The OCID of the security assessment of type TEMPLATE.
        Returns:
        the value
      • getTemplateBaselineAssessmentId

        public String getTemplateBaselineAssessmentId()
        The OCID of the security assessment of type TEMPLATE_BASELINE.
        Returns:
        the value
      • getTargetDatabaseGroupId

        public String getTargetDatabaseGroupId()
        The OCID of the target database group that the group assessment is created for.

        This field will be in the response if the template was applied on a target group.

        Returns:
        the value
      • getTargetId

        public String getTargetId()
        The OCID of the target database.

        If the template was applied on a target group, this field will be the OCID of the target members of the target group. If the template was applied on an individual target, this field will contain that targetId.

        Returns:
        the value
      • toString

        public String toString()
        Overrides:
        toString in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • toString

        public String toString​(boolean includeByteArrayContents)
        Return a string representation of the object.
        Parameters:
        includeByteArrayContents - true to include the full contents of byte arrays
        Returns:
        string representation
      • equals

        public boolean equals​(Object o)
        Overrides:
        equals in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel