/* * 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.greengrassv2.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Contains information about a platform that a component supports. *
* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class ComponentPlatform implements Serializable, Cloneable, StructuredPojo { /** ** The friendly name of the platform. This name helps you identify the platform. *
*
* If you omit this parameter, IoT Greengrass creates a friendly name from the os
and
* architecture
of the platform.
*
* A dictionary of attributes for the platform. The IoT Greengrass Core software defines the os
and
* architecture
by default. You can specify additional platform attributes for a core device when you
* deploy the Greengrass nucleus component. For more information, see the Greengrass
* nucleus component in the IoT Greengrass V2 Developer Guide.
*
* The friendly name of the platform. This name helps you identify the platform. *
*
* If you omit this parameter, IoT Greengrass creates a friendly name from the os
and
* architecture
of the platform.
*
* If you omit this parameter, IoT Greengrass creates a friendly name from the os
and
* architecture
of the platform.
*/
public void setName(String name) {
this.name = name;
}
/**
*
* The friendly name of the platform. This name helps you identify the platform. *
*
* If you omit this parameter, IoT Greengrass creates a friendly name from the os
and
* architecture
of the platform.
*
* If you omit this parameter, IoT Greengrass creates a friendly name from the os
and
* architecture
of the platform.
*/
public String getName() {
return this.name;
}
/**
*
* The friendly name of the platform. This name helps you identify the platform. *
*
* If you omit this parameter, IoT Greengrass creates a friendly name from the os
and
* architecture
of the platform.
*
* If you omit this parameter, IoT Greengrass creates a friendly name from the os
and
* architecture
of the platform.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public ComponentPlatform withName(String name) {
setName(name);
return this;
}
/**
*
* A dictionary of attributes for the platform. The IoT Greengrass Core software defines the os
and
* architecture
by default. You can specify additional platform attributes for a core device when you
* deploy the Greengrass nucleus component. For more information, see the Greengrass
* nucleus component in the IoT Greengrass V2 Developer Guide.
*
os
* and architecture
by default. You can specify additional platform attributes for a core
* device when you deploy the Greengrass nucleus component. For more information, see the Greengrass nucleus component in the IoT Greengrass V2 Developer Guide.
*/
public java.util.Map
* A dictionary of attributes for the platform. The IoT Greengrass Core software defines the os
and
* architecture
by default. You can specify additional platform attributes for a core device when you
* deploy the Greengrass nucleus component. For more information, see the Greengrass
* nucleus component in the IoT Greengrass V2 Developer Guide.
*
os
* and architecture
by default. You can specify additional platform attributes for a core device
* when you deploy the Greengrass nucleus component. For more information, see the Greengrass nucleus component in the IoT Greengrass V2 Developer Guide.
*/
public void setAttributes(java.util.Map
* A dictionary of attributes for the platform. The IoT Greengrass Core software defines the os
and
* architecture
by default. You can specify additional platform attributes for a core device when you
* deploy the Greengrass nucleus component. For more information, see the Greengrass
* nucleus component in the IoT Greengrass V2 Developer Guide.
*
os
* and architecture
by default. You can specify additional platform attributes for a core device
* when you deploy the Greengrass nucleus component. For more information, see the Greengrass nucleus component in the IoT Greengrass V2 Developer Guide.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public ComponentPlatform withAttributes(java.util.Map