Class StartQueryMonitorTopContributorsRequest
- 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.StartQueryMonitorTopContributorsRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<StartQueryMonitorTopContributorsRequest.Builder,StartQueryMonitorTopContributorsRequest>
@Generated("software.amazon.awssdk:codegen") public final class StartQueryMonitorTopContributorsRequest extends NetworkFlowMonitorRequest implements ToCopyableBuilder<StartQueryMonitorTopContributorsRequest.Builder,StartQueryMonitorTopContributorsRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceStartQueryMonitorTopContributorsRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StartQueryMonitorTopContributorsRequest.Builderbuilder()DestinationCategorydestinationCategory()The category that you want to query top contributors for, for a specific monitor.StringdestinationCategoryAsString()The category that you want to query top contributors for, for a specific monitor.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.MonitorMetricmetricName()The metric that you want to query top contributors for.StringmetricNameAsString()The metric that you want to query top contributors for.StringmonitorName()The name of the monitor.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends StartQueryMonitorTopContributorsRequest.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.StartQueryMonitorTopContributorsRequest.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
-
monitorName
public final String monitorName()
The name of the monitor.
- Returns:
- The name of the monitor.
-
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 MonitorMetric 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 returnMonitorMetric.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:
MonitorMetric
-
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 returnMonitorMetric.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:
MonitorMetric
-
destinationCategory
public final DestinationCategory destinationCategory()
The category that you want to query top contributors for, for a specific monitor. 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 category that you want to query top contributors for, for a specific monitor. 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 category that you want to query top contributors for, for a specific monitor. 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 category that you want to query top contributors for, for a specific monitor. 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 StartQueryMonitorTopContributorsRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<StartQueryMonitorTopContributorsRequest.Builder,StartQueryMonitorTopContributorsRequest>- Specified by:
toBuilderin classNetworkFlowMonitorRequest
-
builder
public static StartQueryMonitorTopContributorsRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends StartQueryMonitorTopContributorsRequest.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
-
-