/* * 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.appfabric.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *

* Contains a summary of an app authorization. *

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

* The Amazon Resource Name (ARN) of the app authorization. *

*/ private String appAuthorizationArn; /** *

* The Amazon Resource Name (ARN) of the app bundle for the app authorization. *

*/ private String appBundleArn; /** *

* The name of the application. *

*/ private String app; /** *

* Contains information about an application tenant, such as the application display name and identifier. *

*/ private Tenant tenant; /** *

* The state of the app authorization. *

*

* The following states are possible: *

* */ private String status; /** *

* Timestamp for when the app authorization was last updated. *

*/ private java.util.Date updatedAt; /** *

* The Amazon Resource Name (ARN) of the app authorization. *

* * @param appAuthorizationArn * The Amazon Resource Name (ARN) of the app authorization. */ public void setAppAuthorizationArn(String appAuthorizationArn) { this.appAuthorizationArn = appAuthorizationArn; } /** *

* The Amazon Resource Name (ARN) of the app authorization. *

* * @return The Amazon Resource Name (ARN) of the app authorization. */ public String getAppAuthorizationArn() { return this.appAuthorizationArn; } /** *

* The Amazon Resource Name (ARN) of the app authorization. *

* * @param appAuthorizationArn * The Amazon Resource Name (ARN) of the app authorization. * @return Returns a reference to this object so that method calls can be chained together. */ public AppAuthorizationSummary withAppAuthorizationArn(String appAuthorizationArn) { setAppAuthorizationArn(appAuthorizationArn); return this; } /** *

* The Amazon Resource Name (ARN) of the app bundle for the app authorization. *

* * @param appBundleArn * The Amazon Resource Name (ARN) of the app bundle for the app authorization. */ public void setAppBundleArn(String appBundleArn) { this.appBundleArn = appBundleArn; } /** *

* The Amazon Resource Name (ARN) of the app bundle for the app authorization. *

* * @return The Amazon Resource Name (ARN) of the app bundle for the app authorization. */ public String getAppBundleArn() { return this.appBundleArn; } /** *

* The Amazon Resource Name (ARN) of the app bundle for the app authorization. *

* * @param appBundleArn * The Amazon Resource Name (ARN) of the app bundle for the app authorization. * @return Returns a reference to this object so that method calls can be chained together. */ public AppAuthorizationSummary withAppBundleArn(String appBundleArn) { setAppBundleArn(appBundleArn); return this; } /** *

* The name of the application. *

* * @param app * The name of the application. */ public void setApp(String app) { this.app = app; } /** *

* The name of the application. *

* * @return The name of the application. */ public String getApp() { return this.app; } /** *

* The name of the application. *

* * @param app * The name of the application. * @return Returns a reference to this object so that method calls can be chained together. */ public AppAuthorizationSummary withApp(String app) { setApp(app); return this; } /** *

* Contains information about an application tenant, such as the application display name and identifier. *

* * @param tenant * Contains information about an application tenant, such as the application display name and identifier. */ public void setTenant(Tenant tenant) { this.tenant = tenant; } /** *

* Contains information about an application tenant, such as the application display name and identifier. *

* * @return Contains information about an application tenant, such as the application display name and identifier. */ public Tenant getTenant() { return this.tenant; } /** *

* Contains information about an application tenant, such as the application display name and identifier. *

* * @param tenant * Contains information about an application tenant, such as the application display name and identifier. * @return Returns a reference to this object so that method calls can be chained together. */ public AppAuthorizationSummary withTenant(Tenant tenant) { setTenant(tenant); return this; } /** *

* The state of the app authorization. *

*

* The following states are possible: *

* * * @param status * The state of the app authorization.

*

* The following states are possible: *

*