Class DescribeCodeCoveragesRequest
- 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.DescribeCodeCoveragesRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<DescribeCodeCoveragesRequest.Builder,DescribeCodeCoveragesRequest>
@Generated("software.amazon.awssdk:codegen") public final class DescribeCodeCoveragesRequest extends CodeBuildRequest implements ToCopyableBuilder<DescribeCodeCoveragesRequest.Builder,DescribeCodeCoveragesRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDescribeCodeCoveragesRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DescribeCodeCoveragesRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()DoublemaxLineCoveragePercentage()The maximum line coverage percentage to report.IntegermaxResults()The maximum number of results to return.DoubleminLineCoveragePercentage()The minimum line coverage percentage to report.StringnextToken()ThenextTokenvalue returned from a previous call toDescribeCodeCoverages.StringreportArn()The ARN of the report for which test cases are returned.List<SdkField<?>>sdkFields()static Class<? extends DescribeCodeCoveragesRequest.Builder>serializableBuilderClass()ReportCodeCoverageSortByTypesortBy()Specifies how the results are sorted.StringsortByAsString()Specifies how the results are sorted.SortOrderTypesortOrder()Specifies if the results are sorted in ascending or descending order.StringsortOrderAsString()Specifies if the results are sorted in ascending or descending order.DescribeCodeCoveragesRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
reportArn
public final String reportArn()
The ARN of the report for which test cases are returned.
- Returns:
- The ARN of the report for which test cases are returned.
-
nextToken
public final String nextToken()
The
nextTokenvalue returned from a previous call toDescribeCodeCoverages. This specifies the next item to return. To return the beginning of the list, exclude this parameter.- Returns:
- The
nextTokenvalue returned from a previous call toDescribeCodeCoverages. This specifies the next item to return. To return the beginning of the list, exclude this parameter.
-
maxResults
public final Integer maxResults()
The maximum number of results to return.
- Returns:
- The maximum number of results to return.
-
sortOrder
public final SortOrderType sortOrder()
Specifies if the results are sorted in ascending or descending order.
If the service returns an enum value that is not available in the current SDK version,
sortOrderwill returnSortOrderType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortOrderAsString().- Returns:
- Specifies if the results are sorted in ascending or descending order.
- See Also:
SortOrderType
-
sortOrderAsString
public final String sortOrderAsString()
Specifies if the results are sorted in ascending or descending order.
If the service returns an enum value that is not available in the current SDK version,
sortOrderwill returnSortOrderType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortOrderAsString().- Returns:
- Specifies if the results are sorted in ascending or descending order.
- See Also:
SortOrderType
-
sortBy
public final ReportCodeCoverageSortByType sortBy()
Specifies how the results are sorted. Possible values are:
- FILE_PATH
-
The results are sorted by file path.
- LINE_COVERAGE_PERCENTAGE
-
The results are sorted by the percentage of lines that are covered.
If the service returns an enum value that is not available in the current SDK version,
sortBywill returnReportCodeCoverageSortByType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortByAsString().- Returns:
- Specifies how the results are sorted. Possible values are:
- FILE_PATH
-
The results are sorted by file path.
- LINE_COVERAGE_PERCENTAGE
-
The results are sorted by the percentage of lines that are covered.
- See Also:
ReportCodeCoverageSortByType
-
sortByAsString
public final String sortByAsString()
Specifies how the results are sorted. Possible values are:
- FILE_PATH
-
The results are sorted by file path.
- LINE_COVERAGE_PERCENTAGE
-
The results are sorted by the percentage of lines that are covered.
If the service returns an enum value that is not available in the current SDK version,
sortBywill returnReportCodeCoverageSortByType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsortByAsString().- Returns:
- Specifies how the results are sorted. Possible values are:
- FILE_PATH
-
The results are sorted by file path.
- LINE_COVERAGE_PERCENTAGE
-
The results are sorted by the percentage of lines that are covered.
- See Also:
ReportCodeCoverageSortByType
-
minLineCoveragePercentage
public final Double minLineCoveragePercentage()
The minimum line coverage percentage to report.
- Returns:
- The minimum line coverage percentage to report.
-
maxLineCoveragePercentage
public final Double maxLineCoveragePercentage()
The maximum line coverage percentage to report.
- Returns:
- The maximum line coverage percentage to report.
-
toBuilder
public DescribeCodeCoveragesRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DescribeCodeCoveragesRequest.Builder,DescribeCodeCoveragesRequest>- Specified by:
toBuilderin classCodeBuildRequest
-
builder
public static DescribeCodeCoveragesRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends DescribeCodeCoveragesRequest.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
-
-