Class GetHealthEventRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.internetmonitor.model.InternetMonitorRequest
-
- software.amazon.awssdk.services.internetmonitor.model.GetHealthEventRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetHealthEventRequest.Builder,GetHealthEventRequest>
@Generated("software.amazon.awssdk:codegen") public final class GetHealthEventRequest extends InternetMonitorRequest implements ToCopyableBuilder<GetHealthEventRequest.Builder,GetHealthEventRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetHealthEventRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GetHealthEventRequest.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringeventId()The internally-generated identifier of a health event.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringlinkedAccountId()The account ID for an account that you've set up cross-account sharing for in Amazon CloudWatch Internet Monitor.StringmonitorName()The name of the monitor.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GetHealthEventRequest.Builder>serializableBuilderClass()GetHealthEventRequest.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.
-
eventId
public final String eventId()
The internally-generated identifier of a health event. Because
EventIDcontains the forward slash (“/”) character, you must URL-encode theEventIDfield in the request URL.- Returns:
- The internally-generated identifier of a health event. Because
EventIDcontains the forward slash (“/”) character, you must URL-encode theEventIDfield in the request URL.
-
linkedAccountId
public final String linkedAccountId()
The account ID for an account that you've set up cross-account sharing for in Amazon CloudWatch Internet Monitor. You configure cross-account sharing by using Amazon CloudWatch Observability Access Manager. For more information, see Internet Monitor cross-account observability in the Amazon CloudWatch Internet Monitor User Guide.
- Returns:
- The account ID for an account that you've set up cross-account sharing for in Amazon CloudWatch Internet Monitor. You configure cross-account sharing by using Amazon CloudWatch Observability Access Manager. For more information, see Internet Monitor cross-account observability in the Amazon CloudWatch Internet Monitor User Guide.
-
toBuilder
public GetHealthEventRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetHealthEventRequest.Builder,GetHealthEventRequest>- Specified by:
toBuilderin classInternetMonitorRequest
-
builder
public static GetHealthEventRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetHealthEventRequest.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
-
-