Class StartQueryWorkloadInsightsTopContributorsRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.networkflowmonitor.model.NetworkFlowMonitorRequest
-
- software.amazon.awssdk.services.networkflowmonitor.model.StartQueryWorkloadInsightsTopContributorsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<StartQueryWorkloadInsightsTopContributorsRequest.Builder,StartQueryWorkloadInsightsTopContributorsRequest>
@Generated("software.amazon.awssdk:codegen") public final class StartQueryWorkloadInsightsTopContributorsRequest extends NetworkFlowMonitorRequest implements ToCopyableBuilder<StartQueryWorkloadInsightsTopContributorsRequest.Builder,StartQueryWorkloadInsightsTopContributorsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStartQueryWorkloadInsightsTopContributorsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StartQueryWorkloadInsightsTopContributorsRequest.Builderbuilder()DestinationCategorydestinationCategory()The destination category for a top contributors row.StringdestinationCategoryAsString()The destination category for a top contributors row.InstantendTime()The timestamp that is the date and time end of the period that you want to retrieve results for with your query.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Integerlimit()The maximum number of top contributors to return.WorkloadInsightsMetricmetricName()The metric that you want to query top contributors for.StringmetricNameAsString()The metric that you want to query top contributors for.StringscopeId()The identifier for the scope that includes the resources you want to get data results for.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends StartQueryWorkloadInsightsTopContributorsRequest.Builder>serializableBuilderClass()InstantstartTime()The timestamp that is the date and time beginning of the period that you want to retrieve results for with your query.StartQueryWorkloadInsightsTopContributorsRequest.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
-
scopeId
public final String scopeId()
The identifier for the scope that includes the resources you want to get data results for. A scope ID is an internally-generated identifier that includes all the resources for a specific root account. A scope ID is returned from a
CreateScopeAPI call.- Returns:
- The identifier for the scope that includes the resources you want to get data results for. A scope ID is
an internally-generated identifier that includes all the resources for a specific root account. A scope
ID is returned from a
CreateScopeAPI call.
-
startTime
public final Instant startTime()
The timestamp that is the date and time beginning of the period that you want to retrieve results for with your query.
- Returns:
- The timestamp that is the date and time beginning of the period that you want to retrieve results for with your query.
-
endTime
public final Instant endTime()
The timestamp that is the date and time end of the period that you want to retrieve results for with your query.
- Returns:
- The timestamp that is the date and time end of the period that you want to retrieve results for with your query.
-
metricName
public final WorkloadInsightsMetric metricName()
The metric that you want to query top contributors for. That is, you can specify this metric to return the top contributor network flows, for this type of metric, for a monitor and (optionally) within a specific category, such as network flows between Availability Zones.
If the service returns an enum value that is not available in the current SDK version,
metricNamewill returnWorkloadInsightsMetric.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommetricNameAsString().- Returns:
- The metric that you want to query top contributors for. That is, you can specify this metric to return the top contributor network flows, for this type of metric, for a monitor and (optionally) within a specific category, such as network flows between Availability Zones.
- See Also:
WorkloadInsightsMetric
-
metricNameAsString
public final String metricNameAsString()
The metric that you want to query top contributors for. That is, you can specify this metric to return the top contributor network flows, for this type of metric, for a monitor and (optionally) within a specific category, such as network flows between Availability Zones.
If the service returns an enum value that is not available in the current SDK version,
metricNamewill returnWorkloadInsightsMetric.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommetricNameAsString().- Returns:
- The metric that you want to query top contributors for. That is, you can specify this metric to return the top contributor network flows, for this type of metric, for a monitor and (optionally) within a specific category, such as network flows between Availability Zones.
- See Also:
WorkloadInsightsMetric
-
destinationCategory
public final DestinationCategory destinationCategory()
The destination category for a top contributors row. Destination categories can be one of the following:
-
INTRA_AZ: Top contributor network flows within a single Availability Zone -
INTER_AZ: Top contributor network flows between Availability Zones -
INTER_VPC: Top contributor network flows between VPCs -
AWS_SERVICES: Top contributor network flows to or from Amazon Web Services services -
UNCLASSIFIED: Top contributor network flows that do not have a bucket classification
If the service returns an enum value that is not available in the current SDK version,
destinationCategorywill returnDestinationCategory.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdestinationCategoryAsString().- Returns:
- The destination category for a top contributors row. Destination categories can be one of the following:
-
INTRA_AZ: Top contributor network flows within a single Availability Zone -
INTER_AZ: Top contributor network flows between Availability Zones -
INTER_VPC: Top contributor network flows between VPCs -
AWS_SERVICES: Top contributor network flows to or from Amazon Web Services services -
UNCLASSIFIED: Top contributor network flows that do not have a bucket classification
-
- See Also:
DestinationCategory
-
-
destinationCategoryAsString
public final String destinationCategoryAsString()
The destination category for a top contributors row. Destination categories can be one of the following:
-
INTRA_AZ: Top contributor network flows within a single Availability Zone -
INTER_AZ: Top contributor network flows between Availability Zones -
INTER_VPC: Top contributor network flows between VPCs -
AWS_SERVICES: Top contributor network flows to or from Amazon Web Services services -
UNCLASSIFIED: Top contributor network flows that do not have a bucket classification
If the service returns an enum value that is not available in the current SDK version,
destinationCategorywill returnDestinationCategory.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdestinationCategoryAsString().- Returns:
- The destination category for a top contributors row. Destination categories can be one of the following:
-
INTRA_AZ: Top contributor network flows within a single Availability Zone -
INTER_AZ: Top contributor network flows between Availability Zones -
INTER_VPC: Top contributor network flows between VPCs -
AWS_SERVICES: Top contributor network flows to or from Amazon Web Services services -
UNCLASSIFIED: Top contributor network flows that do not have a bucket classification
-
- See Also:
DestinationCategory
-
-
limit
public final Integer limit()
The maximum number of top contributors to return.
- Returns:
- The maximum number of top contributors to return.
-
toBuilder
public StartQueryWorkloadInsightsTopContributorsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StartQueryWorkloadInsightsTopContributorsRequest.Builder,StartQueryWorkloadInsightsTopContributorsRequest>- Specified by:
toBuilderin classNetworkFlowMonitorRequest
-
builder
public static StartQueryWorkloadInsightsTopContributorsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends StartQueryWorkloadInsightsTopContributorsRequest.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
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-