@Generated(value="software.amazon.awssdk:codegen") public final class ProfilingGroupDescription extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ProfilingGroupDescription.Builder,ProfilingGroupDescription>
Contains information about a profiling group.
Modifier and Type | Class and Description |
---|---|
static interface |
ProfilingGroupDescription.Builder |
Modifier and Type | Method and Description |
---|---|
AgentOrchestrationConfig |
agentOrchestrationConfig()
An
AgentOrchestrationConfig object that indicates if the profiling group is enabled for profiled
or not. |
String |
arn()
The Amazon Resource Name (ARN) identifying the profiling group resource.
|
static ProfilingGroupDescription.Builder |
builder() |
ComputePlatform |
computePlatform()
The compute platform of the profiling group.
|
String |
computePlatformAsString()
The compute platform of the profiling group.
|
Instant |
createdAt()
The time when the profiling group was created.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
String |
name()
The name of the profiling group.
|
ProfilingStatus |
profilingStatus()
A
ProfilingStatus object that includes information about the last time a profile agent pinged
back, the last time a profile was received, and the aggregation period and start time for the most recent
aggregated profile. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ProfilingGroupDescription.Builder> |
serializableBuilderClass() |
Map<String,String> |
tags()
A list of the tags that belong to this profiling group.
|
ProfilingGroupDescription.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
Instant |
updatedAt()
The date and time when the profiling group was last updated.
|
copy
public final AgentOrchestrationConfig agentOrchestrationConfig()
An
AgentOrchestrationConfig
object that indicates if the profiling group is enabled for profiled
or not.
AgentOrchestrationConfig
object that indicates if the profiling group is enabled for
profiled or not.public final String arn()
The Amazon Resource Name (ARN) identifying the profiling group resource.
public final ComputePlatform computePlatform()
The compute platform of the profiling group. If it is set to AWSLambda
, then the profiled
application runs on AWS Lambda. If it is set to Default
, then the profiled application runs on a
compute platform that is not AWS Lambda, such an Amazon EC2 instance, an on-premises server, or a different
platform. The default is Default
.
If the service returns an enum value that is not available in the current SDK version, computePlatform
will return ComputePlatform.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from computePlatformAsString()
.
AWSLambda
, then the profiled
application runs on AWS Lambda. If it is set to Default
, then the profiled application runs
on a compute platform that is not AWS Lambda, such an Amazon EC2 instance, an on-premises server, or a
different platform. The default is Default
.ComputePlatform
public final String computePlatformAsString()
The compute platform of the profiling group. If it is set to AWSLambda
, then the profiled
application runs on AWS Lambda. If it is set to Default
, then the profiled application runs on a
compute platform that is not AWS Lambda, such an Amazon EC2 instance, an on-premises server, or a different
platform. The default is Default
.
If the service returns an enum value that is not available in the current SDK version, computePlatform
will return ComputePlatform.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from computePlatformAsString()
.
AWSLambda
, then the profiled
application runs on AWS Lambda. If it is set to Default
, then the profiled application runs
on a compute platform that is not AWS Lambda, such an Amazon EC2 instance, an on-premises server, or a
different platform. The default is Default
.ComputePlatform
public final Instant createdAt()
The time when the profiling group was created. Specify using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
public final String name()
The name of the profiling group.
public final ProfilingStatus profilingStatus()
A
ProfilingStatus
object that includes information about the last time a profile agent pinged
back, the last time a profile was received, and the aggregation period and start time for the most recent
aggregated profile.
ProfilingStatus
object that includes information about the last time a profile agent
pinged back, the last time a profile was received, and the aggregation period and start time for the most
recent aggregated profile.public final boolean hasTags()
public final Map<String,String> tags()
A list of the tags that belong to this profiling group.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags()
to see if a value was sent in this field.
public final Instant updatedAt()
The date and time when the profiling group was last updated. Specify using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
public ProfilingGroupDescription.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ProfilingGroupDescription.Builder,ProfilingGroupDescription>
public static ProfilingGroupDescription.Builder builder()
public static Class<? extends ProfilingGroupDescription.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()