Class MonitoredResourceIdentifier
- java.lang.Object
-
- software.amazon.awssdk.services.devopsguru.model.MonitoredResourceIdentifier
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MonitoredResourceIdentifier.Builder,MonitoredResourceIdentifier>
@Generated("software.amazon.awssdk:codegen") public final class MonitoredResourceIdentifier extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MonitoredResourceIdentifier.Builder,MonitoredResourceIdentifier>
Information about the resource that is being monitored, including the name of the resource, the type of resource, and whether or not permission is given to DevOps Guru to access that resource.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMonitoredResourceIdentifier.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MonitoredResourceIdentifier.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantlastUpdated()The time at which DevOps Guru last updated this resource.StringmonitoredResourceName()The name of the resource being monitored.ResourceCollectionresourceCollection()Returns the value of the ResourceCollection property for this object.ResourcePermissionresourcePermission()The permission status of a resource.StringresourcePermissionAsString()The permission status of a resource.List<SdkField<?>>sdkFields()static Class<? extends MonitoredResourceIdentifier.Builder>serializableBuilderClass()MonitoredResourceIdentifier.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringtype()The type of resource being monitored.-
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
-
monitoredResourceName
public final String monitoredResourceName()
The name of the resource being monitored.
- Returns:
- The name of the resource being monitored.
-
type
public final String type()
The type of resource being monitored.
- Returns:
- The type of resource being monitored.
-
resourcePermission
public final ResourcePermission resourcePermission()
The permission status of a resource.
If the service returns an enum value that is not available in the current SDK version,
resourcePermissionwill returnResourcePermission.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresourcePermissionAsString().- Returns:
- The permission status of a resource.
- See Also:
ResourcePermission
-
resourcePermissionAsString
public final String resourcePermissionAsString()
The permission status of a resource.
If the service returns an enum value that is not available in the current SDK version,
resourcePermissionwill returnResourcePermission.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresourcePermissionAsString().- Returns:
- The permission status of a resource.
- See Also:
ResourcePermission
-
lastUpdated
public final Instant lastUpdated()
The time at which DevOps Guru last updated this resource.
- Returns:
- The time at which DevOps Guru last updated this resource.
-
resourceCollection
public final ResourceCollection resourceCollection()
Returns the value of the ResourceCollection property for this object.- Returns:
- The value of the ResourceCollection property for this object.
-
toBuilder
public MonitoredResourceIdentifier.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<MonitoredResourceIdentifier.Builder,MonitoredResourceIdentifier>
-
builder
public static MonitoredResourceIdentifier.Builder builder()
-
serializableBuilderClass
public static Class<? extends MonitoredResourceIdentifier.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.
-
-