Class MonitorRemoteResource
- java.lang.Object
-
- software.amazon.awssdk.services.networkflowmonitor.model.MonitorRemoteResource
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MonitorRemoteResource.Builder,MonitorRemoteResource>
@Generated("software.amazon.awssdk:codegen") public final class MonitorRemoteResource extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MonitorRemoteResource.Builder,MonitorRemoteResource>
A remote resource is the other endpoint in a network flow. That is, one endpoint is the local resource and the other is the remote resource. Remote resources can be a a subnet, a VPC, an Availability Zone, or an Amazon Web Services service.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMonitorRemoteResource.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MonitorRemoteResource.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringidentifier()The identifier of the remote resource, such as an ARN.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends MonitorRemoteResource.Builder>serializableBuilderClass()MonitorRemoteResource.BuildertoBuilder()StringtoString()Returns a string representation of this object.MonitorRemoteResourceTypetype()The type of the remote resource.StringtypeAsString()The type of the remote resource.-
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
-
type
public final MonitorRemoteResourceType type()
The type of the remote resource. Valid values are
AWS::EC2::VPCAWS::AvailabilityZone,AWS::EC2::Subnet, orAWS::AWSService.If the service returns an enum value that is not available in the current SDK version,
typewill returnMonitorRemoteResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the remote resource. Valid values are
AWS::EC2::VPCAWS::AvailabilityZone,AWS::EC2::Subnet, orAWS::AWSService. - See Also:
MonitorRemoteResourceType
-
typeAsString
public final String typeAsString()
The type of the remote resource. Valid values are
AWS::EC2::VPCAWS::AvailabilityZone,AWS::EC2::Subnet, orAWS::AWSService.If the service returns an enum value that is not available in the current SDK version,
typewill returnMonitorRemoteResourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the remote resource. Valid values are
AWS::EC2::VPCAWS::AvailabilityZone,AWS::EC2::Subnet, orAWS::AWSService. - See Also:
MonitorRemoteResourceType
-
identifier
public final String identifier()
The identifier of the remote resource, such as an ARN.
- Returns:
- The identifier of the remote resource, such as an ARN.
-
toBuilder
public MonitorRemoteResource.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<MonitorRemoteResource.Builder,MonitorRemoteResource>
-
builder
public static MonitorRemoteResource.Builder builder()
-
serializableBuilderClass
public static Class<? extends MonitorRemoteResource.Builder> serializableBuilderClass()
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-