com.oracle.bmc.apigateway.responses.GetSdkResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of oci-java-sdk-apigateway Show documentation
Show all versions of oci-java-sdk-apigateway Show documentation
This project contains the SDK used for Oracle Cloud Infrastructure Apigateway
/**
* Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved.
* This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
*/
package com.oracle.bmc.apigateway.responses;
import com.oracle.bmc.apigateway.model.*;
@javax.annotation.Generated(value = "OracleSDKGenerator", comments = "API Version: 20190501")
@lombok.Builder(builderClassName = "Builder")
@lombok.ToString(callSuper = true)
@lombok.EqualsAndHashCode(callSuper = true)
@lombok.Getter
public class GetSdkResponse extends com.oracle.bmc.responses.BmcResponse {
/**
* For optimistic concurrency control. See {@code if-match}.
*
*/
private String etag;
/**
* Unique Oracle-assigned identifier for the request. If you need to
* contact Oracle about a particular request, please provide the request
* id.
*
*/
private String opcRequestId;
/**
* The returned Sdk instance.
*/
private com.oracle.bmc.apigateway.model.Sdk sdk;
@java.beans.ConstructorProperties({"__httpStatusCode__", "etag", "opcRequestId", "sdk"})
private GetSdkResponse(
int __httpStatusCode__,
String etag,
String opcRequestId,
com.oracle.bmc.apigateway.model.Sdk sdk) {
super(__httpStatusCode__);
this.etag = etag;
this.opcRequestId = opcRequestId;
this.sdk = sdk;
}
public static class Builder {
private int __httpStatusCode__;
public Builder __httpStatusCode__(int __httpStatusCode__) {
this.__httpStatusCode__ = __httpStatusCode__;
return this;
}
/**
* Copy method to populate the builder with values from the given instance.
* @return this builder instance
*/
public Builder copy(GetSdkResponse o) {
__httpStatusCode__(o.get__httpStatusCode__());
etag(o.getEtag());
opcRequestId(o.getOpcRequestId());
sdk(o.getSdk());
return this;
}
public GetSdkResponse build() {
return new GetSdkResponse(__httpStatusCode__, etag, opcRequestId, sdk);
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy