Interface ProfilingGroupDescription.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ProfilingGroupDescription.Builder,ProfilingGroupDescription>,SdkBuilder<ProfilingGroupDescription.Builder,ProfilingGroupDescription>,SdkPojo
- Enclosing class:
- ProfilingGroupDescription
public static interface ProfilingGroupDescription.Builder extends SdkPojo, CopyableBuilder<ProfilingGroupDescription.Builder,ProfilingGroupDescription>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ProfilingGroupDescription.BuilderagentOrchestrationConfig(Consumer<AgentOrchestrationConfig.Builder> agentOrchestrationConfig)AnAgentOrchestrationConfigobject that indicates if the profiling group is enabled for profiled or not.ProfilingGroupDescription.BuilderagentOrchestrationConfig(AgentOrchestrationConfig agentOrchestrationConfig)AnAgentOrchestrationConfigobject that indicates if the profiling group is enabled for profiled or not.ProfilingGroupDescription.Builderarn(String arn)The Amazon Resource Name (ARN) identifying the profiling group resource.ProfilingGroupDescription.BuildercomputePlatform(String computePlatform)The compute platform of the profiling group.ProfilingGroupDescription.BuildercomputePlatform(ComputePlatform computePlatform)The compute platform of the profiling group.ProfilingGroupDescription.BuildercreatedAt(Instant createdAt)The time when the profiling group was created.ProfilingGroupDescription.Buildername(String name)The name of the profiling group.default ProfilingGroupDescription.BuilderprofilingStatus(Consumer<ProfilingStatus.Builder> profilingStatus)AProfilingStatusobject 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.ProfilingGroupDescription.BuilderprofilingStatus(ProfilingStatus profilingStatus)AProfilingStatusobject 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.ProfilingGroupDescription.Buildertags(Map<String,String> tags)A list of the tags that belong to this profiling group.ProfilingGroupDescription.BuilderupdatedAt(Instant updatedAt)The date and time when the profiling group was last updated.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
agentOrchestrationConfig
ProfilingGroupDescription.Builder agentOrchestrationConfig(AgentOrchestrationConfig agentOrchestrationConfig)
An
AgentOrchestrationConfigobject that indicates if the profiling group is enabled for profiled or not.- Parameters:
agentOrchestrationConfig- AnAgentOrchestrationConfigobject that indicates if the profiling group is enabled for profiled or not.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentOrchestrationConfig
default ProfilingGroupDescription.Builder agentOrchestrationConfig(Consumer<AgentOrchestrationConfig.Builder> agentOrchestrationConfig)
An
This is a convenience method that creates an instance of theAgentOrchestrationConfigobject that indicates if the profiling group is enabled for profiled or not.AgentOrchestrationConfig.Builderavoiding the need to create one manually viaAgentOrchestrationConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toagentOrchestrationConfig(AgentOrchestrationConfig).- Parameters:
agentOrchestrationConfig- a consumer that will call methods onAgentOrchestrationConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
agentOrchestrationConfig(AgentOrchestrationConfig)
-
arn
ProfilingGroupDescription.Builder arn(String arn)
The Amazon Resource Name (ARN) identifying the profiling group resource.
- Parameters:
arn- The Amazon Resource Name (ARN) identifying the profiling group resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
computePlatform
ProfilingGroupDescription.Builder computePlatform(String 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 toDefault, 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 isDefault.- Parameters:
computePlatform- The compute platform of the profiling group. If it is set toAWSLambda, then the profiled application runs on AWS Lambda. If it is set toDefault, 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 isDefault.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ComputePlatform,ComputePlatform
-
computePlatform
ProfilingGroupDescription.Builder computePlatform(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 toDefault, 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 isDefault.- Parameters:
computePlatform- The compute platform of the profiling group. If it is set toAWSLambda, then the profiled application runs on AWS Lambda. If it is set toDefault, 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 isDefault.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ComputePlatform,ComputePlatform
-
createdAt
ProfilingGroupDescription.Builder createdAt(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
ProfilingGroupDescription.Builder name(String name)
The name of the profiling group.
- Parameters:
name- The name of the profiling group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profilingStatus
ProfilingGroupDescription.Builder profilingStatus(ProfilingStatus profilingStatus)
A
ProfilingStatusobject 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.- Parameters:
profilingStatus- AProfilingStatusobject 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profilingStatus
default ProfilingGroupDescription.Builder profilingStatus(Consumer<ProfilingStatus.Builder> profilingStatus)
A
This is a convenience method that creates an instance of theProfilingStatusobject 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.Builderavoiding the need to create one manually viaProfilingStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprofilingStatus(ProfilingStatus).- Parameters:
profilingStatus- a consumer that will call methods onProfilingStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
profilingStatus(ProfilingStatus)
-
tags
ProfilingGroupDescription.Builder tags(Map<String,String> tags)
A list of the tags that belong to this profiling group.
- Parameters:
tags- A list of the tags that belong to this profiling group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
ProfilingGroupDescription.Builder updatedAt(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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-