/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.codeguruprofiler.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.AmazonWebServiceRequest; /** *

* The structure representing the configureAgentRequest. *

* * @see AWS * API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class ConfigureAgentRequest extends com.amazonaws.AmazonWebServiceRequest implements Serializable, Cloneable { /** *

* A universally unique identifier (UUID) for a profiling instance. For example, if the profiling instance is an * Amazon EC2 instance, it is the instance ID. If it is an AWS Fargate container, it is the container's task ID. *

*/ private String fleetInstanceId; /** *

* Metadata captured about the compute platform the agent is running on. It includes information about sampling and * reporting. The valid fields are: *

* */ private java.util.Map metadata; /** *

* The name of the profiling group for which the configured agent is collecting profiling data. *

*/ private String profilingGroupName; /** *

* A universally unique identifier (UUID) for a profiling instance. For example, if the profiling instance is an * Amazon EC2 instance, it is the instance ID. If it is an AWS Fargate container, it is the container's task ID. *

* * @param fleetInstanceId * A universally unique identifier (UUID) for a profiling instance. For example, if the profiling instance is * an Amazon EC2 instance, it is the instance ID. If it is an AWS Fargate container, it is the container's * task ID. */ public void setFleetInstanceId(String fleetInstanceId) { this.fleetInstanceId = fleetInstanceId; } /** *

* A universally unique identifier (UUID) for a profiling instance. For example, if the profiling instance is an * Amazon EC2 instance, it is the instance ID. If it is an AWS Fargate container, it is the container's task ID. *

* * @return A universally unique identifier (UUID) for a profiling instance. For example, if the profiling instance * is an Amazon EC2 instance, it is the instance ID. If it is an AWS Fargate container, it is the * container's task ID. */ public String getFleetInstanceId() { return this.fleetInstanceId; } /** *

* A universally unique identifier (UUID) for a profiling instance. For example, if the profiling instance is an * Amazon EC2 instance, it is the instance ID. If it is an AWS Fargate container, it is the container's task ID. *

* * @param fleetInstanceId * A universally unique identifier (UUID) for a profiling instance. For example, if the profiling instance is * an Amazon EC2 instance, it is the instance ID. If it is an AWS Fargate container, it is the container's * task ID. * @return Returns a reference to this object so that method calls can be chained together. */ public ConfigureAgentRequest withFleetInstanceId(String fleetInstanceId) { setFleetInstanceId(fleetInstanceId); return this; } /** *

* Metadata captured about the compute platform the agent is running on. It includes information about sampling and * reporting. The valid fields are: *

* * * @return Metadata captured about the compute platform the agent is running on. It includes information about * sampling and reporting. The valid fields are:

*