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 Details

    • agentOrchestrationConfig

      ProfilingGroupDescription.Builder agentOrchestrationConfig(AgentOrchestrationConfig agentOrchestrationConfig)

      An AgentOrchestrationConfig object that indicates if the profiling group is enabled for profiled or not.

      Parameters:
      agentOrchestrationConfig - An AgentOrchestrationConfig object 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 AgentOrchestrationConfig object that indicates if the profiling group is enabled for profiled or not.

      This is a convenience method that creates an instance of the AgentOrchestrationConfig.Builder avoiding the need to create one manually via AgentOrchestrationConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to agentOrchestrationConfig(AgentOrchestrationConfig).

      Parameters:
      agentOrchestrationConfig - a consumer that will call methods on AgentOrchestrationConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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 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.

      Parameters:
      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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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 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.

      Parameters:
      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.
      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 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.

      This is a convenience method that creates an instance of the ProfilingStatus.Builder avoiding the need to create one manually via ProfilingStatus.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to profilingStatus(ProfilingStatus).

      Parameters:
      profilingStatus - a consumer that will call methods on ProfilingStatus.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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

      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.