Class GetReportGroupTrendRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.codebuild.model.CodeBuildRequest
-
- software.amazon.awssdk.services.codebuild.model.GetReportGroupTrendRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetReportGroupTrendRequest.Builder,GetReportGroupTrendRequest>
@Generated("software.amazon.awssdk:codegen") public final class GetReportGroupTrendRequest extends CodeBuildRequest implements ToCopyableBuilder<GetReportGroupTrendRequest.Builder,GetReportGroupTrendRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetReportGroupTrendRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetReportGroupTrendRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()IntegernumOfReports()The number of reports to analyze.StringreportGroupArn()The ARN of the report group that contains the reports to analyze.List<SdkField<?>>sdkFields()static Class<? extends GetReportGroupTrendRequest.Builder>serializableBuilderClass()GetReportGroupTrendRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.ReportGroupTrendFieldTypetrendField()The test report value to accumulate.StringtrendFieldAsString()The test report value to accumulate.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
reportGroupArn
public final String reportGroupArn()
The ARN of the report group that contains the reports to analyze.
- Returns:
- The ARN of the report group that contains the reports to analyze.
-
numOfReports
public final Integer numOfReports()
The number of reports to analyze. This operation always retrieves the most recent reports.
If this parameter is omitted, the most recent 100 reports are analyzed.
- Returns:
- The number of reports to analyze. This operation always retrieves the most recent reports.
If this parameter is omitted, the most recent 100 reports are analyzed.
-
trendField
public final ReportGroupTrendFieldType trendField()
The test report value to accumulate. This must be one of the following values:
- Test reports:
-
- DURATION
-
Accumulate the test run times for the specified reports.
- PASS_RATE
-
Accumulate the percentage of tests that passed for the specified test reports.
- TOTAL
-
Accumulate the total number of tests for the specified test reports.
- Code coverage reports:
-
- BRANCH_COVERAGE
-
Accumulate the branch coverage percentages for the specified test reports.
- BRANCHES_COVERED
-
Accumulate the branches covered values for the specified test reports.
- BRANCHES_MISSED
-
Accumulate the branches missed values for the specified test reports.
- LINE_COVERAGE
-
Accumulate the line coverage percentages for the specified test reports.
- LINES_COVERED
-
Accumulate the lines covered values for the specified test reports.
- LINES_MISSED
-
Accumulate the lines not covered values for the specified test reports.
If the service returns an enum value that is not available in the current SDK version,
trendFieldwill returnReportGroupTrendFieldType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtrendFieldAsString().- Returns:
- The test report value to accumulate. This must be one of the following values:
- Test reports:
-
- DURATION
-
Accumulate the test run times for the specified reports.
- PASS_RATE
-
Accumulate the percentage of tests that passed for the specified test reports.
- TOTAL
-
Accumulate the total number of tests for the specified test reports.
- Code coverage reports:
-
- BRANCH_COVERAGE
-
Accumulate the branch coverage percentages for the specified test reports.
- BRANCHES_COVERED
-
Accumulate the branches covered values for the specified test reports.
- BRANCHES_MISSED
-
Accumulate the branches missed values for the specified test reports.
- LINE_COVERAGE
-
Accumulate the line coverage percentages for the specified test reports.
- LINES_COVERED
-
Accumulate the lines covered values for the specified test reports.
- LINES_MISSED
-
Accumulate the lines not covered values for the specified test reports.
- See Also:
ReportGroupTrendFieldType
-
trendFieldAsString
public final String trendFieldAsString()
The test report value to accumulate. This must be one of the following values:
- Test reports:
-
- DURATION
-
Accumulate the test run times for the specified reports.
- PASS_RATE
-
Accumulate the percentage of tests that passed for the specified test reports.
- TOTAL
-
Accumulate the total number of tests for the specified test reports.
- Code coverage reports:
-
- BRANCH_COVERAGE
-
Accumulate the branch coverage percentages for the specified test reports.
- BRANCHES_COVERED
-
Accumulate the branches covered values for the specified test reports.
- BRANCHES_MISSED
-
Accumulate the branches missed values for the specified test reports.
- LINE_COVERAGE
-
Accumulate the line coverage percentages for the specified test reports.
- LINES_COVERED
-
Accumulate the lines covered values for the specified test reports.
- LINES_MISSED
-
Accumulate the lines not covered values for the specified test reports.
If the service returns an enum value that is not available in the current SDK version,
trendFieldwill returnReportGroupTrendFieldType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtrendFieldAsString().- Returns:
- The test report value to accumulate. This must be one of the following values:
- Test reports:
-
- DURATION
-
Accumulate the test run times for the specified reports.
- PASS_RATE
-
Accumulate the percentage of tests that passed for the specified test reports.
- TOTAL
-
Accumulate the total number of tests for the specified test reports.
- Code coverage reports:
-
- BRANCH_COVERAGE
-
Accumulate the branch coverage percentages for the specified test reports.
- BRANCHES_COVERED
-
Accumulate the branches covered values for the specified test reports.
- BRANCHES_MISSED
-
Accumulate the branches missed values for the specified test reports.
- LINE_COVERAGE
-
Accumulate the line coverage percentages for the specified test reports.
- LINES_COVERED
-
Accumulate the lines covered values for the specified test reports.
- LINES_MISSED
-
Accumulate the lines not covered values for the specified test reports.
- See Also:
ReportGroupTrendFieldType
-
toBuilder
public GetReportGroupTrendRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetReportGroupTrendRequest.Builder,GetReportGroupTrendRequest>- Specified by:
toBuilderin classCodeBuildRequest
-
builder
public static GetReportGroupTrendRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetReportGroupTrendRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-